aboutsummaryrefslogtreecommitdiff
path: root/tests/hooks/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-27 12:01:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-27 12:01:09 +0200
commit3813b05824fa2616b8ab9c18ed158c0c02265337 (patch)
tree35dc74b54ae0b6096e93fd76471faba140facb46 /tests/hooks/buildfile
parentbff415fd8a787a63bcda2d9f95c8e086e40c1368 (diff)
Add support for build hooks
The following buildfiles are loaded (if present) at appropriate times from the out_root subdirectories of a project: build/bootstrap/pre-*.build # before loading bootstrap.build build/bootstrap/post-*.build # after loading bootstrap.build build/root/pre-*.build # before loading root.build build/root/post-*.build # after loading root.build
Diffstat (limited to 'tests/hooks/buildfile')
-rw-r--r--tests/hooks/buildfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hooks/buildfile b/tests/hooks/buildfile
new file mode 100644
index 0000000..c951d56
--- /dev/null
+++ b/tests/hooks/buildfile
@@ -0,0 +1,5 @@
+# file : tests/hooks/buildfile
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+./: test{testscript} $b