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/source | |
parent | b0524a0b18eec9d5e5c3f6ce30b6cecdd02a6306 (diff) |
Add support for sourcing/including buildfiles, print, dir{} alias
Diffstat (limited to 'tests/build/semantics/source')
l--------- | tests/build/semantics/source/buildfile | 1 | ||||
-rw-r--r-- | tests/build/semantics/source/nested/sourcee3 | 1 | ||||
-rw-r--r-- | tests/build/semantics/source/sourcee1 | 1 | ||||
-rw-r--r-- | tests/build/semantics/source/sourcee2 | 1 | ||||
-rw-r--r-- | tests/build/semantics/source/sourcer | 8 | ||||
-rw-r--r-- | tests/build/semantics/source/test.std | 5 |
6 files changed, 17 insertions, 0 deletions
diff --git a/tests/build/semantics/source/buildfile b/tests/build/semantics/source/buildfile new file mode 120000 index 0000000..b6d1987 --- /dev/null +++ b/tests/build/semantics/source/buildfile @@ -0,0 +1 @@ +sourcer
\ No newline at end of file diff --git a/tests/build/semantics/source/nested/sourcee3 b/tests/build/semantics/source/nested/sourcee3 new file mode 100644 index 0000000..cdf51fb --- /dev/null +++ b/tests/build/semantics/source/nested/sourcee3 @@ -0,0 +1 @@ +print nested/sourcee3
\ No newline at end of file diff --git a/tests/build/semantics/source/sourcee1 b/tests/build/semantics/source/sourcee1 new file mode 100644 index 0000000..683cd1f --- /dev/null +++ b/tests/build/semantics/source/sourcee1 @@ -0,0 +1 @@ +print sourcee1
\ No newline at end of file diff --git a/tests/build/semantics/source/sourcee2 b/tests/build/semantics/source/sourcee2 new file mode 100644 index 0000000..c989838 --- /dev/null +++ b/tests/build/semantics/source/sourcee2 @@ -0,0 +1 @@ +print sourcee2 diff --git a/tests/build/semantics/source/sourcer b/tests/build/semantics/source/sourcer new file mode 100644 index 0000000..e8b9558 --- /dev/null +++ b/tests/build/semantics/source/sourcer @@ -0,0 +1,8 @@ +source +source sourcee1 +source sourcee1 ../source/sourcee2 +nested/: +{ + source sourcee3 + source ../sourcee1 +} diff --git a/tests/build/semantics/source/test.std b/tests/build/semantics/source/test.std new file mode 100644 index 0000000..84d94b7 --- /dev/null +++ b/tests/build/semantics/source/test.std @@ -0,0 +1,5 @@ +sourcee1 +sourcee1 +sourcee2 +nested/sourcee3 +sourcee1 |