path: root/buildfile
diff options
authorKaren Arutyunov <>2020-04-08 14:51:57 +0300
committerKaren Arutyunov <>2020-04-27 11:38:53 +0300
commit720c5a33b6a49cf328fdd7611f49153cf8f60247 (patch)
tree9725f3d1f42ec90fde84520f49647edea013ce5e /buildfile
parent3183f3bb927a90783ae0aeaf190a0919377aabe4 (diff)
Separate tests and examples into individual packages
Also make cli module to be explicitly enabled via the config.cli configuration variable.
Diffstat (limited to 'buildfile')
1 files changed, 0 insertions, 30 deletions
diff --git a/buildfile b/buildfile
deleted file mode 100644
index 394230e..0000000
--- a/buildfile
+++ /dev/null
@@ -1,30 +0,0 @@
-# file : buildfile
-# license : MIT; see accompanying LICENSE file
-d = cli/ unit-tests/
-# Building examples/ and tests/ while bootstrapping the compiler is tricky.
-# What we are going to do is omit these two directories if there is no cli
-# compiler yet. Once it's built the user can reconfigure the project which
-# will enable tests and examples. Alternatively, the user can install the
-# compiler and test the installation with out-of-tree builds of tests/ and
-# examples/.
-# Note that to make sure we don't pick up some system-installed cli, we
-# default (in to leaving the cli module unconfigured.
-# Also note that creating distribution with the cli module unconfigured, you
-# will end up with incomplete distribution directory (without tests, examples
-# and options.cli file).
-if $cli.configured
- d += tests/ examples/
-./: $d doc{INSTALL LICENSE NEWS README} manifest
-# Don't install examples, tests or the INSTALL file.
-examples/: install = false
-tests/: install = false
-unit-tests/: install = false
-doc{INSTALL}@./: install = false