diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-23 08:21:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-23 08:21:53 +0200 |
commit | 91495e646c688eade6b46f21bb40e3da8b8d6f1a (patch) | |
tree | 6cfafe23d2ca8a3d2c889961c8df0fffc128c4f7 /tests/function | |
parent | 699e3bc87d1cbb3c2b19ddaf5db37909cb49f47b (diff) |
Implement automatic loading of directory buildfiles
Now instead of explicitly writing:
d = foo/ bar/
./: $d
include $d
We can (usually) just write:
./: foo/ bar/
Diffstat (limited to 'tests/function')
-rw-r--r-- | tests/function/buildfile | 4 | ||||
-rw-r--r-- | tests/function/builtin/testscript | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/function/buildfile b/tests/function/buildfile index 4e043cf..8034f2b 100644 --- a/tests/function/buildfile +++ b/tests/function/buildfile @@ -2,6 +2,4 @@ # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file -d = builtin/ path/ -./: $d -include $d +./: builtin/ path/ diff --git a/tests/function/builtin/testscript b/tests/function/builtin/testscript index 82df683..0b005f3 100644 --- a/tests/function/builtin/testscript +++ b/tests/function/builtin/testscript @@ -1,4 +1,4 @@ -# file : tests/function/path/testscript +# file : tests/function/builtin/testscript # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : MIT; see accompanying LICENSE file |