aboutsummaryrefslogtreecommitdiff
path: root/tests/new.testscript
AgeCommit message (Collapse)AuthorFilesLines
2021-03-19Add support for binless C libraries to bdep-newKaren Arutyunov1-0/+48
2021-03-09Use non-recursive wildcard in bdep-new-generated buildfiles when source ↵Karen Arutyunov1-1/+95
directory is project/package root
2020-07-16Use *.config.mode instead of *.mode in testsBoris Kolpackov1-2/+2
2020-07-16Add support for 'prefix*', 'split' and 'no-subdir*' project type sub-optionsKaren Arutyunov1-18/+515
Also: - rename --subdirectory to --source - rename --type|-t,source to subdir - change the hook's mode variable value 'subdirectory' to 'source' - rename bdep-new-subdirectory.options to bdep-new-source.options - add src, inc, pfx, and sub pre-/post-hooks variables
2020-07-06Use SPDX license ids/names in bdep-newKaren Arutyunov1-1/+1
2020-06-30Fix expected diagnostics in testsBoris Kolpackov1-2/+2
2020-02-13Move bdep-new binless sub-option from --lang|-l to --type|tBoris Kolpackov1-2/+2
2020-02-13Add --type|-t,source sub-option for customizing source subdirectoryBoris Kolpackov1-0/+12
For example: $ bdep new -l c++ -t lib,source=libhello/io libhello-io
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-07Fix bdep-new tests failing for C projectsKaren Arutyunov1-4/+4
2019-10-25Make C library created by bdep-new portableBoris Kolpackov1-8/+0
Specifically, replace the use of fmemopen() with tmpfile().
2019-10-18Use $quote() for quoting config.cxx option value in testscriptsKaren Arutyunov1-38/+38
2019-10-16Escape quoting in config.{c,cxx} paths when passing to testsBoris Kolpackov1-2/+2
This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details).
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov1-2/+2
Without this Windows directory separators are treated as escapes.
2019-09-26Adapt to builtins support added to command run APIKaren Arutyunov1-22/+21
2019-08-22Quote directory paths in buildspecsKaren Arutyunov1-1/+1
2019-08-16Add --no-default-options common optionKaren Arutyunov1-1/+7
2019-08-13Add --pre-hook option to bdep-newKaren Arutyunov1-4/+58
2019-08-13Add support for default options filesKaren Arutyunov1-0/+41
2019-08-12Add support for creating new projects with existing filesBoris Kolpackov1-0/+32
We also recognize and handle the following existing entries in the project root: .git -- assume VCS is already initialized and is Git LICENSE -- try to guess the license from contents README.md -- try to extract the summary line from contents Overall, the idea is to streamline the workflow where one creates a project on one of the hosting services (GitHub, GitLab) and then initializes it with bdep-new. Also, to this effect, specifying the project name is now optional and if omitted the current working directory (or --output-dir, if specified) is assumed to be the project name. Here is an example of this workflow: $ # create project with LICENSE and README.md on Git hosting service $ git clone .../libhello.git $ cd libhello $ bdep new -t lib
2019-05-16Make bdep-new add README.md templateKaren Arutyunov1-0/+52
Can suppressed with the new no-readme --type suboption.
2019-03-24Fix bdep-new test failing for older libstdc++Karen Arutyunov1-1/+1
2019-03-23Add --post-hook option to bdep-newKaren Arutyunov1-7/+95
2019-03-18Omit bdep-new C tests that use fmemopen() on Windows and Mac OSKaren Arutyunov1-0/+2
2019-03-18Merge bdep-new parameter-specific optionsKaren Arutyunov1-2/+149
2019-03-15Add support for c++ source file extensions granular customizationKaren Arutyunov1-0/+170
2019-03-08Add support for bdep-new --subdirectory mode, no-version -t=lib sub-optionBoris Kolpackov1-0/+74
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-0/+24
Specifically, the bdep-new --type|-t now has the new 'alt-naming' sub-option that can be used to create projects with the alternative naming.
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-10-18Add binless option to bdep-new c++ language parameterBoris Kolpackov1-0/+24
This allows creation of a simpler buildfile for header-only (and, in the future, for module-only) libraries.
2018-09-04Rename .test/test{} to .testscript/testscript{}Karen Arutyunov1-0/+217