aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/.gitignore3
-rw-r--r--build/bootstrap.build10
-rw-r--r--build/export.build19
-rw-r--r--build/root.build6
4 files changed, 38 insertions, 0 deletions
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..4a730a3
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1,3 @@
+config.build
+root/
+bootstrap/
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..8416065
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,10 @@
+# file : build/bootstrap.build
+# license : MIT; see accompanying LICENSE file
+
+project = bdep-util
+
+using version
+using config
+using dist
+using test
+using install
diff --git a/build/export.build b/build/export.build
new file mode 100644
index 0000000..54f91e8
--- /dev/null
+++ b/build/export.build
@@ -0,0 +1,19 @@
+# file : build/export.build
+# license : MIT; see accompanying LICENSE file
+
+$out_root/
+{
+ include bdep-util/
+}
+
+switch $import.target
+{
+ case exe{bdep-git-pre-commit}
+ export $out_root/bdep-util/exe{bdep-git-pre-commit}
+
+ case exe{bdep-git-pre-commit-version-check}
+ export $out_root/bdep-util/exe{bdep-git-pre-commit-version-check}
+
+ case exe{bdep-git-pre-commit-copyright-check}
+ export $out_root/bdep-util/exe{bdep-git-pre-commit-copyright-check}
+}
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..122be6a
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,6 @@
+# file : build/root.build
+# license : MIT; see accompanying LICENSE file
+
+# Bash.
+#
+using bash