aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-11-07Fix bdep-new tests failing for C projectsKaren Arutyunov1-4/+4
2019-11-07Load c.config module for testsBoris Kolpackov1-0/+5
2019-11-07Cosmetic changesBoris Kolpackov4-6/+7
2019-10-31Document default options files for remaining commandsKaren Arutyunov22-38/+344
2019-10-29Fix bug in doc/buildfileBoris Kolpackov1-1/+1
2019-10-29Add no-install project type sub-optionBoris Kolpackov2-31/+62
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 Kolpackov2-1/+41
2019-10-28Add bdep-default-options-files(1) help topicBoris Kolpackov4-4/+83
2019-10-25Make C library created by bdep-new portableBoris Kolpackov2-20/+61
Specifically, replace the use of fmemopen() with tmpfile().
2019-10-24Add --no-sync option to bdep-initBoris Kolpackov3-10/+24
This allows postponing initialization in the build configurations to a later explicit bdep-sync. One subtle difference with such an explicit sync is that it will be performed without having the project database open, which can be important if our initialization triggers an implicit sync (via a hook) of a project that uses the same database (as is the case with build system module projects).
2019-10-24Add --forward option to bdep-submitBoris Kolpackov6-29/+127
This option instructs the submit command to use each package's forwarded configuration in order to prepare the distributions. This help with setups where there is no single configuration that had all the packages (such as a build system module project).
2019-10-24Allow multiple forwarded configurationsBoris Kolpackov3-16/+56
The new constraint is that such configurations should not have any common packages (a package cannot be forwarded to multiple configurations).
2019-10-24Fix bdep-sync documentationBoris Kolpackov2-7/+9
2019-10-24Close database as soon as possibleBoris Kolpackov5-18/+38
This becomes important if we trigger a recursive implicit sync that uses the same database (e.g., in a build system module project).
2019-10-23Add note in commentBoris Kolpackov1-2/+9
2019-10-18Use $quote() for quoting config.cxx option value in testscriptsKaren Arutyunov10-73/+73
2019-10-16Escape quoting in config.{c,cxx} paths when passing to testsBoris Kolpackov11-12/+13
This is needed due to the command line re-parsing (see "Lexical Structure" in the Testscript manual for details).
2019-10-16Tweak tests/ci.testscript to deal with directory symlinksBoris Kolpackov1-2/+3
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov11-12/+14
Without this Windows directory separators are treated as escapes.
2019-10-15Add missing man pages to doc/buildfileBoris Kolpackov2-6/+20
2019-10-06Adapt for building with Clang on WindowsKaren Arutyunov1-3/+3
2019-10-02Add CONTRIBUTING.md that points to our Community pageBoris Kolpackov2-1/+4
2019-09-28Adapt to renaming butl::casecmp() to icasecmp()Karen Arutyunov3-9/+9
2019-09-26Adapt to builtins support added to command run APIKaren Arutyunov4-28/+31
2019-09-02Adjust bdep-sync to new bpkg-pkg-build config var passing protocolBoris Kolpackov1-2/+15
2019-08-22Quote directory paths in buildspecsKaren Arutyunov4-13/+15
2019-08-22Make use of butl::sanitize_identifier()Karen Arutyunov2-16/+11
2019-08-22Make testscripts to ignore user's default options filesKaren Arutyunov8-22/+82
2019-08-16Adapt to load_default_options() now throwing pair<path, system_error> ↵Karen Arutyunov1-1/+6
instead of system_error
2019-08-16Fix uncaught invalid_path exceptionKaren Arutyunov6-25/+46
2019-08-16Add --no-default-options common optionKaren Arutyunov3-2/+14
2019-08-16Add '--std c++11' CLI option in buildfileKaren Arutyunov1-5/+6
2019-08-14Add default options files search tracingKaren Arutyunov1-4/+21
2019-08-14Add .build2/ into generated for new project .gitignoreKaren Arutyunov1-0/+4
2019-08-13Add --pre-hook option to bdep-newKaren Arutyunov2-82/+155
2019-08-13Add support for default options filesKaren Arutyunov26-22/+672
2019-08-13Split -am git options in testscriptsKaren Arutyunov2-30/+30
2019-08-13Document --pre-hook in bdep-newBoris Kolpackov1-7/+26
2019-08-13Document support for creating new projects with existing filesBoris Kolpackov1-2/+10
2019-08-13Document now optional project/package/subdirectory name in bdep-newBoris Kolpackov1-7/+19
2019-08-12Fix fdstream usage some moreBoris Kolpackov1-1/+1
2019-08-12Fix fdstream usageBoris Kolpackov1-2/+6
2019-08-12Add support for creating new projects with existing filesBoris Kolpackov4-144/+490
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-07-31Combine multiple single-character options into a single argument for ↵Karen Arutyunov4-24/+24
testscript commands
2019-07-05Use __linux__ macro instead of __linuxKaren Arutyunov1-1/+1
2019-06-24Improve fallback tree output with &middot;Boris Kolpackov1-1/+1
2019-06-21Add ability to keep/update/remove current tag in bdep-release revision modeKaren Arutyunov11-114/+603
Note that previously the default was to update while now it is to keep.
2019-06-20Add anchor to COMMANDS section in bdep(1)Boris Kolpackov1-1/+1
2019-06-18Update bdep-new to use features available since 0.11.0Boris Kolpackov1-1/+0