aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script/script.hxx
AgeCommit message (Collapse)AuthorFilesLines
2022-11-09Use diag_buffer in scriptKaren Arutyunov1-7/+14
2022-10-13Add support for 'for' loop second (... | for x) and third (for x <...) forms ↵Karen Arutyunov1-3/+15
in script
2022-09-28Add support for 'for' loop first form (for x:...) in scriptKaren Arutyunov1-0/+1
2022-09-28Add support for 'while' loop in scriptKaren Arutyunov1-0/+10
2022-02-02Redo diagnostics without operator<< in namespace stdBoris Kolpackov1-0/+4
2021-11-23Add support for dynamic dependencies in ad hoc Buildscript recipesBoris Kolpackov1-1/+2
Specifically, add the new `depdb dyndep` builtin that can be used to extract dynamic dependencies from a program run or a file. For example: obje{hello.o}: cxx{hello} {{ s = $path($<[0]) depdb dyndep $cxx.poptions $cc.poptions --what=header --default-prereq-type=h -- $cxx.path $cxx.poptions $cc.poptions $cxx.mode -M -MG $s diag c++ ($<[0]) o = $path($>) $cxx.path $cxx.poptions $cc.poptions $cc.coptions $cxx.coptions $cxx.mode -o $o -c $s }} Currently only the `make` dependency format is supported.
2021-10-13Add --cwd|-t option to env pseudo-builtinKaren Arutyunov1-0/+1
2021-04-21Add buildscript depdb builtin 'env' commandKaren Arutyunov1-4/+5
2020-12-11Add export script pseudo-builtinKaren Arutyunov1-3/+57
2020-11-06Add support for test timeoutsKaren Arutyunov1-2/+51
2020-06-26Drop workarounds for script::redirect struct compile errorsKaren Arutyunov1-7/+4
Thanks to the butl::optional improvement to better deal with lack of copy/move constructors.
2020-06-18Add env script pseudo-builtinKaren Arutyunov1-1/+7
Also disable C++ recipe tests when cross-testing.
2020-06-08Cleanup script command failure diagnosticsKaren Arutyunov1-1/+3
2020-06-05Add depdb buildscript builtinKaren Arutyunov1-0/+6
2020-06-03Allow process path values and targets as buildscript program namesKaren Arutyunov1-1/+6
Also deduce the recipe name.
2020-05-27Initial support for ad hoc recipes (still work in progress)Boris Kolpackov1-0/+471