From 8ab23ad062f53ed32107f19d7e855c07992eb517 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 13 Feb 2020 12:27:19 +0200 Subject: Add --type|-t,source sub-option for customizing source subdirectory For example: $ bdep new -l c++ -t lib,source=libhello/io libhello-io --- tests/new.testscript | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/new.testscript') diff --git a/tests/new.testscript b/tests/new.testscript index d8858b3..4fefe56 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -173,6 +173,18 @@ status += -d prj EOE } + : lib-alt-source + : + { + $* -l c++ -t lib,source=libprj/foo libprj-foo 2>>/"EOE" &libprj-foo/***; + created new library project libprj-foo in $~/libprj-foo/ + EOE + + $build libprj-foo/ $config_cxx 2>>~%EOE% + %(version\.in|c\+\+|ar|ld) .+%{7} + EOE + } + # C versions of the above. # : exe-c -- cgit v1.1