Include sub crates #86

This commit is contained in:
2026-06-30 19:14:12 +02:00
parent c1d7152992
commit 4e1bcf36fc
2 changed files with 31 additions and 5 deletions
+4 -2
View File
@@ -17,7 +17,8 @@ void main()
}
match args[1].as_str() {
"run" | "build" | "check" | "r" | "b" | "c" => {
let root = transpiler::transpile();
let root = env::current_dir().expect("Unable to find project root");
transpiler::transpile(&root);
println!("");
if builder::build(args, root) {
println!("\x1b[32m\nBuild successful\x1b[0m");
@@ -26,7 +27,8 @@ void main()
}
}
"transpile" | "t" => {
transpiler::transpile();
let root = env::current_dir().expect("Unable to find project root");
transpiler::transpile(&root);
}
"init" => {
init_project(args);