aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script
AgeCommit message (Collapse)AuthorFilesLines
2021-05-28Make notion of name pattern explicit, fix various related loose endsBoris Kolpackov1-6/+6
2021-04-21Add buildscript depdb builtin 'env' commandKaren Arutyunov4-12/+29
2021-04-02Add support for propagating project environmentBoris Kolpackov1-2/+2
2021-03-04Enable regex linkage failure workaround for all libcpp versionsKaren Arutyunov1-7/+8
2021-02-25Raise libcpp version in regex-related check to 11.0Karen Arutyunov1-1/+1
2021-01-30Rework include translation supportBoris Kolpackov1-1/+0
See the config.cxx.translate_include variable documentation in cxx/init.cxx for details.
2020-12-11Add export script pseudo-builtinKaren Arutyunov8-39/+773
2020-12-11Prefix pseudo-builtin diagnostincs messages with their namesKaren Arutyunov4-14/+22
2020-12-08Fix buildscript assertion failure on redirecting command stderr to stdoutKaren Arutyunov1-1/+13
2020-12-02Add support for buildscript depdb preambleKaren Arutyunov1-41/+94
2020-11-23Increase terminated process timeout from 1 to 2 sec before killing it on ↵Karen Arutyunov1-2/+2
script pipeline termination
2020-11-19Fix set buildscript builtin crash on WindowsKaren Arutyunov1-1/+19
2020-11-17Increase builtin timeout from 1 sec to 2 sec before aborting on script ↵Karen Arutyunov1-2/+2
pipeline termination
2020-11-06Add support for test timeoutsKaren Arutyunov13-148/+1181
2020-09-12Regenerate options parsing codeKaren Arutyunov1-6/+6
2020-08-03Fix buildscript diagnostics so diff output is always in unified formatKaren Arutyunov1-11/+32
Also make sure diff refers program stdout as 'stdout' rather than '-' in the test rule diagnostics.
2020-06-26Drop workarounds for script::redirect struct compile errorsKaren Arutyunov2-58/+4
Thanks to the butl::optional improvement to better deal with lack of copy/move constructors.
2020-06-19Raise libcpp version in regex-related check to 10.0Karen Arutyunov1-1/+1
2020-06-18Add env script pseudo-builtinKaren Arutyunov5-19/+306
Also disable C++ recipe tests when cross-testing.
2020-06-18Fix build2::script::parser::[reset_]quoted() to consider peeked token in ↵Karen Arutyunov1-2/+3
replay mode
2020-06-10Handle special variable names in base lexer via mode dataBoris Kolpackov1-1/+1
2020-06-08Cleanup script command failure diagnosticsKaren Arutyunov3-18/+23
2020-06-08Various minor fixesKaren Arutyunov1-1/+1
2020-06-05Add depdb buildscript builtinKaren Arutyunov2-129/+160
2020-06-04Properly handle diag directive in build script parserKaren Arutyunov2-27/+31
2020-06-03Allow process path values and targets as buildscript program namesKaren Arutyunov5-39/+141
Also deduce the recipe name.
2020-05-28Regenerate options parsing codeBoris Kolpackov1-9/+10
2020-05-27Add support for value subscript after expansionsBoris Kolpackov1-3/+2
Value subscript is only recognized in evaluation contexts (due to ambiguity with wildcard patterns; consider: $x[123].txt) and should be unseparated from the previous token. For example: x = ($y[1]) x = (($f ? $y : $z)[1]) x = ($identity($y)[$z])
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov21-0/+9222