summaryrefslogtreecommitdiff
path: root/scripts/toy.groovy
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toy.groovy')
-rw-r--r--scripts/toy.groovy3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/toy.groovy b/scripts/toy.groovy
index 597433e..89344ef 100644
--- a/scripts/toy.groovy
+++ b/scripts/toy.groovy
@@ -62,6 +62,9 @@ return new Object() {
new File("$DATAFOLDER/scripts/toy")
.listFiles()
.each({s ->
+ if (stateIs("DEBUG")) {
+ show("Leading $s...");
+ }
Eval.me(s.text)(toy);
});
};