aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
AgeCommit message (Collapse)AuthorFilesLines
2020-06-09Add build/ to bdep-new-generated build/.gitignoreBoris Kolpackov1-6/+8
Also tighten up the rest of the entries not to match in subdirectories.
2020-04-21Improve export header generated by bdep-newBoris Kolpackov1-4/+9
2020-03-05Fix typo in .gitattributes commentKaren Arutyunov1-2/+2
2020-02-29Don't create .gitattributes in bdep-new --package modeBoris Kolpackov1-2/+5
2020-02-27Add generation of .gitattributes to bdep-newBoris Kolpackov1-2/+24
2020-02-18Add AUTHORS to buildfile doc{} list in bdep-newBoris Kolpackov1-1/+15
2020-02-14Add existing LICENSE to doc{} list, also recognize COPYRIGHTBoris Kolpackov1-10/+38
2020-02-14Recognize UNLICENSE file in addition to LICENSE in bdep-newBoris Kolpackov1-2/+2
2020-02-13Move bdep-new binless sub-option from --lang|-l to --type|tBoris Kolpackov1-8/+5
2020-02-13Add --type|-t,source sub-option for customizing source subdirectoryBoris Kolpackov1-12/+61
For example: $ bdep new -l c++ -t lib,source=libhello/io libhello-io
2020-02-13Clarify that project type is language-dependent in bdep-newBoris Kolpackov1-40/+43
2020-02-07Drop copyright notice from source codeKaren Arutyunov1-1/+0
2019-11-19Release version 0.12.0v0.12.0Boris Kolpackov1-2/+2
2019-11-07Cosmetic changesBoris Kolpackov1-2/+2
2019-10-29Add no-install project type sub-optionBoris Kolpackov1-31/+47
In particular, this should be useful when creating *-tests packages.
2019-10-29Make generated README.md match what's produced by Git{Hub,Lab}Boris Kolpackov1-5/+3
2019-10-28Document default options files for bdep-new commandBoris Kolpackov1-0/+4
2019-10-25Make C library created by bdep-new portableBoris Kolpackov1-12/+61
Specifically, replace the use of fmemopen() with tmpfile().
2019-09-28Adapt to renaming butl::casecmp() to icasecmp()Karen Arutyunov1-4/+4
2019-09-26Adapt to builtins support added to command run APIKaren Arutyunov1-1/+3
2019-08-22Make use of butl::sanitize_identifier()Karen Arutyunov1-16/+10
2019-08-22Make testscripts to ignore user's default options filesKaren Arutyunov1-9/+9
2019-08-16Fix uncaught invalid_path exceptionKaren Arutyunov1-12/+8
2019-08-14Add .build2/ into generated for new project .gitignoreKaren Arutyunov1-0/+4
2019-08-13Add --pre-hook option to bdep-newKaren Arutyunov1-78/+97
2019-08-13Add support for default options filesKaren Arutyunov1-2/+135
2019-08-12Fix fdstream usageBoris Kolpackov1-2/+6
2019-08-12Add support for creating new projects with existing filesBoris Kolpackov1-143/+454
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-06-18Update bdep-new to use features available since 0.11.0Boris Kolpackov1-1/+0
2019-06-17Allow specifying pkg-args in bdep-init -A and -C formsKaren Arutyunov1-3/+6
2019-06-11Change version to 0.12.0-a.0.zBoris Kolpackov1-2/+2
2019-06-04Add --existing|-e option to bdep-{init,new} -C and bdep-config create modesBoris Kolpackov1-0/+3
With this option bdep initializes a bpkg configuration based on an existing build system configuration instead of creating a new one.
2019-06-03Add support for AGPLBoris Kolpackov1-0/+2
2019-05-23Adapt to increasing standard version major, minor, and patch max values up ↵Karen Arutyunov1-14/+14
to 99999
2019-05-17Minor bdep-new fixBoris Kolpackov1-2/+2
2019-05-16Add license=name project type sub-option in bdep-newBoris Kolpackov1-14/+55
If unspecified, the default is now 'proprietary' instead of TODO.
2019-05-16Make bdep-new add README.md templateKaren Arutyunov1-19/+59
Can suppressed with the new no-readme --type suboption.
2019-03-23Fix bdep-new crash due to unhandled ios::failure for older libstdc++Karen Arutyunov1-3/+5
2019-03-23Add --post-hook option to bdep-newKaren Arutyunov1-2/+72
2019-03-20Change version to 0.11.0-a.0.zBoris Kolpackov1-2/+2
2019-03-18Only add mxx{} to buildfiles if its extension was explicitly specifiedBoris Kolpackov1-4/+11
2019-03-15Add support for c++ source file extensions granular customizationKaren Arutyunov1-39/+133
2019-03-15Handle CWD inside project/package in bdep-new --{package,subdirectory} modesBoris Kolpackov1-51/+82
2019-03-08Add support for bdep-new --subdirectory mode, no-version -t=lib sub-optionBoris Kolpackov1-300/+409
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-8/+31
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-03-06Preparatory work for alternative build file/directory naming schemeBoris Kolpackov1-17/+27
2019-02-19Update build2 and bpkg minimum version requirement in bdep-newBoris Kolpackov1-2/+2
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-11-23Rework slightly executable project buildfile generated by bdep-newBoris Kolpackov1-5/+9
2018-11-22Convert bdep-new to use dependency chains, variable blocksBoris Kolpackov1-36/+51