add configs/bundle_pure

This commit is contained in:
Mark
2024-06-23 22:14:29 +02:00
parent 4d570ec5a5
commit 94111a5eaa
8 changed files with 60 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "mers"
version = "0.8.12"
version = "0.8.13"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "dynamically typed but type-checked programming language"
@@ -11,7 +11,7 @@ repository = "https://github.com/Dummi26/mers"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
mers_lib = "0.8.12"
# mers_lib = { path = "../mers_lib" }
# mers_lib = "0.8.13"
mers_lib = { path = "../mers_lib" }
clap = { version = "4.3.19", features = ["derive"] }
colored = "2.1.0"

View File

@@ -52,6 +52,7 @@ enum From {
enum Configs {
None,
Base,
Pure,
Std,
}
@@ -60,6 +61,7 @@ fn main() {
let config = cfg_globals::add_general(match args.config {
Configs::None => Config::new(),
Configs::Base => Config::new().bundle_base(),
Configs::Pure => Config::new().bundle_pure(),
Configs::Std => Config::new().bundle_std(),
});
fn get_source(source: From) -> Source {