aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cxx
AgeCommit message (Collapse)AuthorFilesLines
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
2018-11-15Improve bdep-new diagnostics for when directory already contains projectBoris Kolpackov1-31/+33
2018-10-18Add binless option to bdep-new c++ language parameterBoris Kolpackov1-100/+181
This allows creation of a simpler buildfile for header-only (and, in the future, for module-only) libraries.
2018-10-11Tone down lib prefix warnings in bdep-newBoris Kolpackov1-4/+2
2018-09-04Rename .test/test{} to .testscript/testscript{}Karen Arutyunov1-3/+6
2018-09-03Reorder lines in library buildfile generated by bdep-newBoris Kolpackov1-3/+4
2018-09-01Add comment to bdep-new-generated buildfileBoris Kolpackov1-1/+2
2018-08-30Produce more flexible export stub in bdep-newBoris Kolpackov1-1/+1
2018-08-29Add unit-tests option to bdep-newBoris Kolpackov1-114/+216
If specified (-t exe,unit-tests or -t lib,unit-tests) then generate build infrastructure for unit testing.
2018-08-22Add support for specifying publisher's name in addition to emailBoris Kolpackov1-2/+2
2018-08-20Reorder modules in bdep-newBoris Kolpackov1-2/+2
2018-08-15Use sanitized name stem for language identifiers in bdep-newBoris Kolpackov1-4/+28
2018-07-31Extract project from manifest in bdep-publishBoris Kolpackov1-1/+1
2018-07-27Implement temp directory facilityKaren Arutyunov1-0/+4
2018-07-26Make use of butl::project_nameKaren Arutyunov1-33/+36
2018-07-25Handle package name extensions in bdep-newBoris Kolpackov1-35/+39
2018-07-18Fix test breakages due to nesting checks and amalgamationBoris Kolpackov1-2/+5
2018-07-18Diagnose nested projects in new commandBoris Kolpackov1-20/+32
2018-07-17Diagnose improper project/package arrangements in new commandBoris Kolpackov1-2/+22