diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-02-19 16:10:03 +0200 |
commit | 8bd89cfca333e58f6990d7d168649dfc79878f31 (patch) | |
tree | 730bb9eec4fc5ddd086ed8465c4d7c0030db0d6b /tests/build/semantics/include | |
parent | b0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (diff) |
Add support for sourcing/including buildfiles, print, dir{} alias
Diffstat (limited to 'tests/build/semantics/include')
l--------- | tests/build/semantics/include/buildfile | 1 | ||||
-rw-r--r-- | tests/build/semantics/include/includee1 | 1 | ||||
-rw-r--r-- | tests/build/semantics/include/includee2 | 1 | ||||
-rw-r--r-- | tests/build/semantics/include/includee4 | 1 | ||||
-rw-r--r-- | tests/build/semantics/include/includer | 9 | ||||
-rw-r--r-- | tests/build/semantics/include/nested/includee3 | 2 | ||||
-rw-r--r-- | tests/build/semantics/include/nested/includee5 | 1 | ||||
-rw-r--r-- | tests/build/semantics/include/test.std | 5 |
8 files changed, 21 insertions, 0 deletions
diff --git a/tests/build/semantics/include/buildfile b/tests/build/semantics/include/buildfile new file mode 120000 index 0000000..361dcf4 --- /dev/null +++ b/tests/build/semantics/include/buildfile @@ -0,0 +1 @@ +includer
\ No newline at end of file diff --git a/tests/build/semantics/include/includee1 b/tests/build/semantics/include/includee1 new file mode 100644 index 0000000..70ed3fc --- /dev/null +++ b/tests/build/semantics/include/includee1 @@ -0,0 +1 @@ +print includee1
\ No newline at end of file diff --git a/tests/build/semantics/include/includee2 b/tests/build/semantics/include/includee2 new file mode 100644 index 0000000..762825b --- /dev/null +++ b/tests/build/semantics/include/includee2 @@ -0,0 +1 @@ +print includee2 diff --git a/tests/build/semantics/include/includee4 b/tests/build/semantics/include/includee4 new file mode 100644 index 0000000..4964d81 --- /dev/null +++ b/tests/build/semantics/include/includee4 @@ -0,0 +1 @@ +print includee4 diff --git a/tests/build/semantics/include/includer b/tests/build/semantics/include/includer new file mode 100644 index 0000000..c129e33 --- /dev/null +++ b/tests/build/semantics/include/includer @@ -0,0 +1,9 @@ +include +include includee1 +include includee1 ../include/includee2 # includee1 is skipped +include nested/includee3 +nested/: +{ + include includee5 + include ../includee2 # skipped +} diff --git a/tests/build/semantics/include/nested/includee3 b/tests/build/semantics/include/nested/includee3 new file mode 100644 index 0000000..7196e82 --- /dev/null +++ b/tests/build/semantics/include/nested/includee3 @@ -0,0 +1,2 @@ +print nested/includee3 +include ../includee4 diff --git a/tests/build/semantics/include/nested/includee5 b/tests/build/semantics/include/nested/includee5 new file mode 100644 index 0000000..b4c9c74 --- /dev/null +++ b/tests/build/semantics/include/nested/includee5 @@ -0,0 +1 @@ +print nested/includee5 diff --git a/tests/build/semantics/include/test.std b/tests/build/semantics/include/test.std new file mode 100644 index 0000000..559584c --- /dev/null +++ b/tests/build/semantics/include/test.std @@ -0,0 +1,5 @@ +includee1 +includee2 +nested/includee3 +includee4 +nested/includee5 |