diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-27 15:11:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-08-27 15:11:40 +0200 |
commit | fd689eb883655dcb29e505b041cd02fac01f0bac (patch) | |
tree | 0d85ec32d95a1c96eaa7eff28734b900c44dd3ca /tests/dist/simple | |
parent | 7f2d06258d57e39940e8fa959336da0ea66fe37f (diff) |
Dist module/meta-operation initial implementation
Diffstat (limited to 'tests/dist/simple')
-rw-r--r-- | tests/dist/simple/README | 0 | ||||
-rwxr-xr-x | tests/dist/simple/bootstrap | 0 | ||||
-rw-r--r-- | tests/dist/simple/build/bootstrap.build | 9 | ||||
-rw-r--r-- | tests/dist/simple/build/export.build | 0 | ||||
-rw-r--r-- | tests/dist/simple/buildfile | 7 | ||||
-rw-r--r-- | tests/dist/simple/driver.cxx | 10 | ||||
-rw-r--r-- | tests/dist/simple/test.out | 1 |
7 files changed, 27 insertions, 0 deletions
diff --git a/tests/dist/simple/README b/tests/dist/simple/README new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/dist/simple/README diff --git a/tests/dist/simple/bootstrap b/tests/dist/simple/bootstrap new file mode 100755 index 0000000..e69de29 --- /dev/null +++ b/tests/dist/simple/bootstrap diff --git a/tests/dist/simple/build/bootstrap.build b/tests/dist/simple/build/bootstrap.build new file mode 100644 index 0000000..0cd9015 --- /dev/null +++ b/tests/dist/simple/build/bootstrap.build @@ -0,0 +1,9 @@ +project = dist-simple +version = 1.0.0 +amalgamation = # Disabled. +using config +using dist +using test +using install + +dist.package = $project-$version diff --git a/tests/dist/simple/build/export.build b/tests/dist/simple/build/export.build new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/dist/simple/build/export.build diff --git a/tests/dist/simple/buildfile b/tests/dist/simple/buildfile new file mode 100644 index 0000000..27f143d --- /dev/null +++ b/tests/dist/simple/buildfile @@ -0,0 +1,7 @@ +using cxx + +hxx.ext = hxx +cxx.ext = cxx + +exe{driver}: cxx{driver} doc{README} file{bootstrap} +exe{driver}: test.output = test.out diff --git a/tests/dist/simple/driver.cxx b/tests/dist/simple/driver.cxx new file mode 100644 index 0000000..293d7ff --- /dev/null +++ b/tests/dist/simple/driver.cxx @@ -0,0 +1,10 @@ +#include <iostream> + +using namespace std; + +int +main () +{ + cerr << "test is running (stderr)" << endl; + cout << "test is running (stdout)" << endl; +} diff --git a/tests/dist/simple/test.out b/tests/dist/simple/test.out new file mode 100644 index 0000000..5d63fab --- /dev/null +++ b/tests/dist/simple/test.out @@ -0,0 +1 @@ +test is running (stdout) |