diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-04-14 17:59:24 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 20:47:45 +0300 |
commit | b13332c991ce2695626eaca367dd8208b174c9ca (patch) | |
tree | 809dc321b47d5ef9c72935637f94bf5b84ed640d /tests/pkg/1/build2.org/common/libhello-1.0.0+1/build | |
parent | c9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff) |
Add support for repository authentication
Diffstat (limited to 'tests/pkg/1/build2.org/common/libhello-1.0.0+1/build')
3 files changed, 31 insertions, 0 deletions
diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build new file mode 100644 index 0000000..c9bf24d --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/bootstrap.build @@ -0,0 +1,15 @@ +project = libhello +version = 1.0.0 +revision = 1 + +using config +using dist +using test +using install + +dist.package = $project-$version + +if ($revision != 0) +{ + dist.package += +$revision +} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build new file mode 100644 index 0000000..1eb73b7 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/export.build @@ -0,0 +1,6 @@ +$out_root/: +{ + include hello/ +} + +export $out_root/hello/lib{hello} diff --git a/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build new file mode 100644 index 0000000..ebe16d5 --- /dev/null +++ b/tests/pkg/1/build2.org/common/libhello-1.0.0+1/build/root.build @@ -0,0 +1,10 @@ +using cxx + +hxx{*}: extension = +cxx{*}: extension = cxx + +cxx.std = 11 + +# Don't install tests. +# +tests/: install = false |