From 2aac6bb4b179a45908cd9d8c6656fef671c24042 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 Jul 2018 12:27:28 +0200 Subject: Initial infrastructure setup --- build/.gitignore | 3 +++ build/bootstrap.build | 11 +++++++++++ build/root.build | 16 ++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 build/.gitignore create mode 100644 build/bootstrap.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..8e62ed7 --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,11 @@ +# file : build/bootstrap.build +# copyright : Copyright (c) 2014-2018 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +project = libbutl.bash + +using version +using config +using dist +using test +using install 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 -- cgit v1.1