aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-02 11:37:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-02 11:37:15 +0200
commit9891b20350021ce41a950645dd76df20a45c92cc (patch)
tree0cd27041b0c3413e17b9319ae99e87c5e745b1ff /tests
parent74212589a797ca75e55f92a522e198915c0dbaf6 (diff)
Implement optional module loading
The syntax is: using? cli Now each module use results in two bool variables: <module>.loaded and <module>.configured. Also implement variable visibility (the above two variables are limited to project).
Diffstat (limited to 'tests')
-rw-r--r--tests/using/buildfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/using/buildfile b/tests/using/buildfile
new file mode 100644
index 0000000..86baa42
--- /dev/null
+++ b/tests/using/buildfile
@@ -0,0 +1,5 @@
+using? foo
+print $foo.loaded
+print $foo.configured
+
+./: