aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/script.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-07-28Factor out and generalize/extend to_stream_quoted(string)Boris Kolpackov1-43/+2
2024-04-12Add -s|--timeout-success option to env script builtinBoris Kolpackov1-0/+5
The semantics is equivalent to the --success option we already have in the timeout builtin.
2023-05-21Add support for dynamic target extraction in addition to prerequisitesBoris Kolpackov1-1/+3
This functionality is enabled with the depdb-dyndep --dyn-target option. Only the make format is supported, where the listed targets are added as ad hoc group members (unless already specified as static members). This functionality is not available in the --byproduct mode.
2022-10-13Add support for 'for' loop second (... | for x) and third (for x <...) forms ↵Karen Arutyunov1-11/+13
in script
2022-09-28Add support for 'for' loop first form (for x:...) in scriptKaren Arutyunov1-1/+3
2022-09-28Add support for 'while' loop in scriptKaren Arutyunov1-9/+12
2021-10-13Add --cwd|-t option to env pseudo-builtinKaren Arutyunov1-1/+9
2021-04-21Add buildscript depdb builtin 'env' commandKaren Arutyunov1-6/+22
2020-12-11Add export script pseudo-builtinKaren Arutyunov1-0/+94
2020-11-06Add support for test timeoutsKaren Arutyunov1-10/+16
2020-06-26Drop workarounds for script::redirect struct compile errorsKaren Arutyunov1-51/+0
Thanks to the butl::optional improvement to better deal with lack of copy/move constructors.
2020-06-18Add env script pseudo-builtinKaren Arutyunov1-7/+123
Also disable C++ recipe tests when cross-testing.
2020-06-08Cleanup script command failure diagnosticsKaren Arutyunov1-3/+3
2020-06-08Various minor fixesKaren Arutyunov1-1/+1
2020-06-05Add depdb buildscript builtinKaren Arutyunov1-129/+154
2020-06-03Allow process path values and targets as buildscript program namesKaren Arutyunov1-1/+1
Also deduce the recipe name.
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-0/+659