aboutsummaryrefslogtreecommitdiff
path: root/build2/dist/operation.cxx
AgeCommit message (Collapse)AuthorFilesLines
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-05-14Tolerate misconfigured src_root in info and disfigure meta-operationsBoris Kolpackov1-0/+1
2018-03-20Reimplement compression for gzip, bzip2, and xz not to use tar's -aBoris Kolpackov1-9/+89
This option is not supported by some tar implementations (like Mac OS) and may have issues (like MSYS2 BLODA).
2018-03-20Cleanup destination directory on dist failureBoris Kolpackov1-0/+3
2018-02-22Make dist diagnostics tidier yetBoris Kolpackov1-12/+15
2018-02-21Make dist diagnostics less noisy at verbosity level 1Boris Kolpackov1-5/+9
2018-02-21Add progress to dist meta-operationBoris Kolpackov1-11/+54
2018-02-21Fix bug in dist_execute()Boris Kolpackov1-7/+6
2018-02-12Make sure operation failure diagnostics is printed for pre/post-operationsBoris Kolpackov1-1/+1
2018-02-07Add support for update-for-{test,install} operation aliasesBoris Kolpackov1-10/+22
2017-12-17Fix few issues with structured result outputBoris Kolpackov1-4/+7
2017-12-16Improve process execution diagnostics by reusing run_*() APIBoris Kolpackov1-55/+10
2017-12-16Add support for structured result output (--structured-result)Boris Kolpackov1-6/+8
2017-12-13Implement info meta operationBoris Kolpackov1-20/+14
This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects.
2017-11-22Fix dist bug where missing source file would be silently ignoredBoris Kolpackov1-9/+7
2017-10-03Adapt to modularization of libbutlKaren Arutyunov1-1/+1
2017-09-06Call dist callback in subprojectsBoris Kolpackov1-8/+30
This fixes a bug with no updating manifest versions in build2-toolchain subprojects.
2017-08-05Cosmetic changeBoris Kolpackov1-2/+2
2017-06-06Adapt to libbutl::process interface changeKaren Arutyunov1-1/+1
2017-05-01Add hxx extension for headersKaren Arutyunov1-11/+11
2017-04-26Implement version moduleBoris Kolpackov1-5/+39
2017-04-10Adapt to process_error changeKaren Arutyunov1-3/+3
2017-03-16Add support for passing parameters to (meta-) operationsBoris Kolpackov1-15/+22
2017-03-03Fix test and dist for generated input/outputBoris Kolpackov1-5/+18
2017-03-03Fix cli distribution via groupBoris Kolpackov1-1/+3
2017-03-02Implement parallel matchBoris Kolpackov1-55/+32
2017-02-13Implement parallel error propagation, keep_going modeBoris Kolpackov1-0/+1
Keep going is the default but there is now the -s|--serial-stop that makes the driver run serially and stop at first error. Also fix some lockups, other minor improvements/features.
2017-02-13Implement parallel operation executionBoris Kolpackov1-1/+1
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov1-3/+3
2017-02-13Add notion of phase, enforceBoris Kolpackov1-20/+24
2017-02-13Add scheduling calls to operation's match()Boris Kolpackov1-49/+53
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov1-6/+17
2017-01-23Add bunch of missing const'sBoris Kolpackov1-1/+1
2017-01-19Get rid of extension_poolBoris Kolpackov1-1/+1
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov1-3/+3
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-17Add support for specifying individual paths of imported targetsBoris Kolpackov1-2/+1
The new config.import.* variable format is: config.import.<proj>.<name>[.<type>] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot
2016-11-04Various design/implementation cleanupsBoris Kolpackov1-1/+1
2016-09-17Audit all print_process()/process ctor for path_search()Karen Arutyunov1-15/+17
2016-09-13Fix crashing on unhandled system_error thrown by file_exists()Karen Arutyunov1-4/+4
2016-09-01Add support for specifying directory in config.dist.archivesBoris Kolpackov1-8/+30
2016-08-30Add support for config.build file versioningBoris Kolpackov1-9/+5
2016-08-29Implement initial support for library versioningBoris Kolpackov1-1/+1
Currently we only support platform-independent versions that get appended to the library name. The magic incantation is this: lib{foo}: bin.lib.version = @-1.2 This will produce libfoo-1.2.so, libfoo-1.2.dll, etc. In the future we will support things like this: lib{foo}: bin.lib.version = linux@1.2.3 freebsd@1.2 windows@1.2
2016-08-22Improve diagnosticsBoris Kolpackov1-1/+3
2016-07-30Construct paths to use canonical directory separatorsBoris Kolpackov1-4/+4
Hardcoding separators as in "build/root.build" is now a big no-no.
2016-07-28Adjust to new path implementation, use to support reversibilityBoris Kolpackov1-1/+1
2016-07-08Move filesystem-related functions from context to new filesystem filesBoris Kolpackov1-0/+1
2016-04-19Redesign src/out scopingBoris Kolpackov1-17/+24
We no longer enter paths from the src tree into scope map. Instead, targets from the src tree now include their out tree directory (in essence their "configuration"). This is then used to find a target's scope. See the comment in class target for details. The result of this change is that we can now again build multiple configurations (out trees) for same project at once.
2016-04-11New configuration logic, iteration 1Boris Kolpackov1-4/+5
2016-03-31Clean up variable lookup interfacesBoris Kolpackov1-4/+4