mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-20 09:38:46 +08:00
✨ change build scripts
This commit is contained in:
+2
-2
@@ -2,7 +2,7 @@ import.std.padding;
|
||||
import.std.file;
|
||||
import.std.sort;
|
||||
|
||||
var source=find_all_files_with_extension(".","cpp","h");
|
||||
var source=find_all_files_with_extension("./src","cpp","h");
|
||||
sort(source,func(a,b){return cmp(a,b)<0});
|
||||
|
||||
var lib=find_all_files_with_extension("./std","nas");
|
||||
@@ -78,7 +78,7 @@ var calc=func(codetype,files,path=""){
|
||||
return int(bytes/1024);
|
||||
}
|
||||
|
||||
var all=calc("source code:",source)
|
||||
var all=calc("source code:",source,"src/")
|
||||
+calc("lib:",lib,"std/")
|
||||
+calc("test file:",testfile,"test/")
|
||||
+calc("module:",module,"module/");
|
||||
|
||||
Reference in New Issue
Block a user