Add a handy compiling script.

This commit is contained in:
Anna Rose 2021-07-23 21:50:11 +00:00
parent a795564f95
commit 0605cc4f2e

10
compileall.ks Normal file
View File

@ -0,0 +1,10 @@
// Intended to be run from volume 0 for checking compiled sizes.
for file in FILES {
if file:ISFILE and file:EXTENSION = "ks" {
compile file:NAME.
}
// TODO: might be neat to actually do a filesize comparison and print a report or something,
// specifically iterating files NOT to compile.
// TODO: We could hypothetically even integrate this with the bootstrapper.
}