aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Use dir_name_view for script environment working and sandbox directoriesKaren Arutyunov14-85/+129
2020-05-27Don't export ad hoc rule implementation detailsBoris Kolpackov1-5/+9
2020-05-27Handle recipes in dependency declarations with prerequisitesBoris Kolpackov2-38/+94
2020-05-27Wrap up $<, $> variables and related ($target.path(), hashing, cleanup)Boris Kolpackov17-90/+258
2020-05-27Review (temp dir)Boris Kolpackov3-8/+15
2020-05-27Add script command redirect aliasesKaren Arutyunov29-351/+967
2020-05-27Make build script to create special files in temporary directoryKaren Arutyunov6-47/+200
2020-05-27Complete dump(ostream,script::lines)Karen Arutyunov5-82/+262
2020-05-27Make build script runner to execute exit-containing expression in dry-run modeKaren Arutyunov2-8/+12
2020-05-27Implement build script variable hashingBoris Kolpackov7-21/+124
2020-05-27Add ability to notice variable expansions in pre-parse modeBoris Kolpackov4-48/+74
2020-05-27Partially implement dump(ostream,script::lines)Karen Arutyunov3-7/+43
2020-05-27Remove redundant script member from build::script::environment classKaren Arutyunov6-12/+10
2020-05-27Add support for dry run mode for build script runnerKaren Arutyunov3-18/+23
2020-05-27Set proper build script command default redirectsKaren Arutyunov8-100/+256
Also add printing of set and exit pseudo-builtin command arguments for verb >= 2 as we do for normal builtins.
2020-05-27Make build script parser unit test compilableKaren Arutyunov1-4/+2
2020-05-27Add recipe library target state to cxx_ruleBoris Kolpackov2-8/+15
2020-05-27Additional ad hoc C++ recipe change detectionBoris Kolpackov1-202/+281
2020-05-27Integrate buildscript running into recipe default_action()Boris Kolpackov8-58/+74
2020-05-27Integrate buildscript pre-parsing into recipe parsingBoris Kolpackov6-33/+41
2020-05-27Fix to compile with ClangKaren Arutyunov1-1/+3
2020-05-27Make build script variable pool local to execution environmentBoris Kolpackov5-65/+53
2020-05-27Add dump(ostream,script::lines) (partial implementation)Karen Arutyunov16-28/+199
2020-05-27Add build scriptKaren Arutyunov35-0/+3330
2020-05-27Factor out generic script parsing/executing functionality from ↵Karen Arutyunov51-7546/+8304
build2::test::script namespace
2020-05-27Add support for recipe location updateBoris Kolpackov3-61/+83
2020-05-27Support for the nested build caseBoris Kolpackov3-34/+56
2020-05-27Implement ad hoc recipe sharing and lockingBoris Kolpackov11-150/+270
2020-05-27Add support for custom constructors in ad hoc C++ recipesBoris Kolpackov1-12/+66
2020-05-27Support for cleaning up recipe buildsBoris Kolpackov4-6/+83
2020-05-27Initial support for ad hoc C++ recipesBoris Kolpackov13-220/+673
2020-05-27Generalize to adhoc_rule/adhoc_script_ruleBoris Kolpackov6-118/+180
2020-05-27Use recipe data in ad hoc ruleBoris Kolpackov4-92/+95
2020-05-27Initial support for parsing and dumping recipesBoris Kolpackov9-141/+709
2020-05-27Handle multi-curly-brace tokens in lexerBoris Kolpackov8-45/+306
2020-05-27Add lexer mode dataBoris Kolpackov4-6/+9
2020-05-27WIPBoris Kolpackov2-8/+147
2020-05-27Add recognition for line-leading `%` as tokenBoris Kolpackov8-28/+104
2020-05-27WIPBoris Kolpackov4-14/+89
2020-05-27Add ad hoc recipes plumbingBoris Kolpackov6-7/+78
2020-05-27Improve ternary diagnostics with info for wildcard pattern escapeBoris Kolpackov1-2/+13
2020-05-27Suppress skip count diagnostics if no progress was requestedBoris Kolpackov1-2/+5
2020-05-27Fix unregistered .regex file cleanup error in testscriptKaren Arutyunov1-1/+5
2020-05-27Amalgamation cutoff supportBoris Kolpackov8-66/+200
Now a project that disables amalgamation will not logically "see" an outer project even if it's physically inside its scope.
2020-05-27Use location_value in module_stateBoris Kolpackov2-4/+4
2020-05-22Get rid of now deprecated std::is_pod usageBoris Kolpackov2-9/+18
2020-05-22Fix bug in previous commitBoris Kolpackov1-1/+1
2020-05-22Make template definition available in all translation units where usedBoris Kolpackov5-30/+40
We were trying to be clever but GCC 10's IPA-SRA optimization didn't like it.
2020-05-01Fix outstanding issue with directive vs assignment differentiationBoris Kolpackov4-16/+65
Specifically, now the following does the right thing: print +foo
2020-04-30Verify path set by {src,out}-root.build files is absoluteBoris Kolpackov4-38/+56