mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-20 09:38:46 +08:00
✨ change dir stl -> std
This commit is contained in:
+5
-5
@@ -1,11 +1,11 @@
|
||||
import.stl.padding;
|
||||
import.stl.file;
|
||||
import.stl.sort;
|
||||
import.std.padding;
|
||||
import.std.file;
|
||||
import.std.sort;
|
||||
|
||||
var source=find_all_files_with_extension(".","cpp","h");
|
||||
sort(source,func(a,b){return cmp(a,b)<0});
|
||||
|
||||
var lib=find_all_files_with_extension("./stl","nas");
|
||||
var lib=find_all_files_with_extension("./std","nas");
|
||||
sort(lib,func(a,b){return cmp(a,b)<0});
|
||||
|
||||
var testfile=find_all_files_with_extension("./test","nas");
|
||||
@@ -79,7 +79,7 @@ var calc=func(codetype,files,path=""){
|
||||
}
|
||||
|
||||
var all=calc("source code:",source)
|
||||
+calc("lib:",lib,"stl/")
|
||||
+calc("lib:",lib,"std/")
|
||||
+calc("test file:",testfile,"test/")
|
||||
+calc("module:",module,"module/");
|
||||
println(rightpad("total:",padding_length),'|',leftpad(str(all),6),' kb |');
|
||||
Reference in New Issue
Block a user