From 768727f37afa6fbb5082833a4c14c8134ec42122 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 6 Aug 2020 23:32:13 +0300 Subject: Add implementation --- build/.gitignore | 3 +++ build/bootstrap.build | 10 ++++++++++ build/export.build | 19 +++++++++++++++++++ build/root.build | 6 ++++++ 4 files changed, 38 insertions(+) create mode 100644 build/.gitignore create mode 100644 build/bootstrap.build create mode 100644 build/export.build create mode 100644 build/root.build (limited to 'build') 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 -- cgit v1.1