aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-07-13 22:19:18 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-07-14 18:04:46 +0300
commit8e8d599b129d35f638f2c1957c869b054a38b021 (patch)
tree3678e5e4e1d63cde262327f637a1a5d49f069a29 /build/export.build
parent360ee295a8c5ac1f693e38160302c1ea93bb9964 (diff)
Make tests to be a sub-project
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..8cd1646
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,15 @@
+# file : build/export.build
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : TBC; see accompanying LICENSE file
+
+$out_root/:
+{
+ include bbot/
+}
+
+if ($import.target == exe{bbot-agent})
+ export $out_root/bbot/exe{bbot-agent}
+elif ($import.target == exe{bbot-worker})
+ export $out_root/bbot/exe{bbot-worker}
+else
+ assert false unknown target $import.target