aboutsummaryrefslogtreecommitdiff
path: root/build2/dist
AgeCommit message (Collapse)AuthorFilesLines
2019-04-12Don't complain if dist.root does not exist and just create it insteadBoris Kolpackov1-4/+4
2019-03-07Move bunch of root scope-only data members to root_extraBoris Kolpackov2-9/+11
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-2/+2
Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
2019-01-16Update copyright yearKaren Arutyunov8-8/+8
2018-11-27Add --dump <phase> option, omit state dumping from verbosity level 6Boris Kolpackov1-1/+1
2018-07-25Fix broken dist checksum calculationKaren Arutyunov1-1/+1
2018-07-10Fix bug in dist checksum implementationBoris Kolpackov1-3/+6
2018-07-10Add support for archive checksum generation during distributionBoris Kolpackov2-23/+186
Now we can do: $ b dist: ... \ config.dist.archives='tar.gz zip' \ config.dist.checksums='sha1 sha256' And end up with .tar.gz.sha1, .tar.gz.sha256, .zip.sha1, and .zip.sha256 checksum files in addition to archives.
2018-07-03Enter config.dist.uncommitted in dist module, make omittedBoris Kolpackov1-0/+12
One side-effect of doing this in the version module (where it is still used and enforced) was that dist module configuration (e.g., in an amalgamation) did not include this variable (and which was then duplicated in each subproject).
2018-06-28Implement support for excluded and ad hoc prerequisitesBoris Kolpackov3-3/+31
The inclusion/exclusion is controlled via the 'include' prerequisite-specific variable. Valid values are: false - exclude true - include adhoc - include but treat as an ad hoc input For example: lib{foo}: cxx{win32-utility}: include = ($cxx.targe.class == 'windows') exe{bar}: libs{plugin}: include = adhoc
2018-05-19Update copyright yearKaren Arutyunov8-8/+8
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
2018-02-07Initial work for default update outer operationBoris Kolpackov1-1/+1
While update still uses the old "all update rules update all their prerequisites" assumption, test and install have been fixed not to rely on this.
2018-02-03Get rid of action rule override semanticsBoris Kolpackov2-3/+2
Instead we now have two more or less separate match states for outer and inner parts of an action.
2018-01-04Load config.build in init(), not boot()Boris Kolpackov2-2/+4
We now make sure the config module is init'ed first.
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 Kolpackov3-22/+16
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 Kolpackov2-12/+43
2017-10-03Adapt to modularization of libbutlKaren Arutyunov1-1/+1
2017-09-06Call dist callback in subprojectsBoris Kolpackov2-9/+35
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 Arutyunov9-70/+70
2017-04-27Pass target to prerequisite searchBoris Kolpackov1-1/+1
2017-04-26Implement version moduleBoris Kolpackov4-30/+148
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-06Iterate over group members in test rule only if resolvableBoris Kolpackov1-11/+4
2017-03-03Fix test and dist for generated input/outputBoris Kolpackov1-5/+18
2017-03-03Fix cli distribution via groupBoris Kolpackov3-4/+12
2017-03-02Implement parallel matchBoris Kolpackov3-62/+39
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-13Implement pattern-based variable typing, tighten variable type updateBoris Kolpackov1-1/+1
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 Kolpackov4-28/+39
2017-01-24Add default constructors to *_rule classes to make older clang happyKaren Arutyunov1-0/+2
2017-01-23Make rules const throughoutBoris Kolpackov1-1/+1