aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-08-06 23:32:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-08-12 12:33:41 +0300
commit768727f37afa6fbb5082833a4c14c8134ec42122 (patch)
tree8c7b3d85f9735d8585781a45f9e61b15fdaa3530 /build
parent4c61819dedbc3547bf3f352809ecfb6a95ab8753 (diff)
Add implementation
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