From 0605cc4f2efe5a436ec3a402cd8866caf4ed9c1d Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Fri, 23 Jul 2021 21:50:11 +0000 Subject: [PATCH] Add a handy compiling script. --- compileall.ks | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 compileall.ks diff --git a/compileall.ks b/compileall.ks new file mode 100644 index 0000000..9197130 --- /dev/null +++ b/compileall.ks @@ -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. +}