aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..d0d4e08
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,16 @@
+# file : build/root.build
+# 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/([string] $path.base([path] $project))/
+bash{*}: install.mode = 644