aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-20 14:35:28 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-20 14:35:28 +0200
commit357172f4409c74d7a2ac963290fc70c7ae10e3b1 (patch)
tree3c857e1803d9840734fe2af59c328793fb7455e6 /build
parent53d459271375a3fafb80f26d11ab13b00f468ef9 (diff)
Switch to bash build2 module
Diffstat (limited to 'build')
-rw-r--r--build/export.build10
-rw-r--r--build/root.build13
2 files changed, 11 insertions, 12 deletions
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..4f9f5c7
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,10 @@
+# file : build/export.build
+# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+$out_root/
+{
+ include libbutl/
+}
+
+export $src_root/libbutl/$import.target
diff --git a/build/root.build b/build/root.build
index 236b359..fdcf92b 100644
--- a/build/root.build
+++ b/build/root.build
@@ -2,15 +2,4 @@
# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
-# Bash module target type.
-#
-# We install it into the same location where the scripts that use it would
-# presumably go.
-#
-# @@ Path/string cast is ugly, should go away once have implicit to-untyped
-# conversion during function call.
-#
-define bash: file
-bash{*}: extension = bash
-bash{*}: install = bin/$path.base($project)/
-bash{*}: install.mode = 644
+using bash