aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/script
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Add support for value subscript after expansionsadhoc-recipe-historyBoris 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($x)[$z])
2020-05-27Various minor fixes and cleanupsBoris Kolpackov3-46/+39
2020-05-27Create build script temporary directory on demandKaren Arutyunov3-25/+35
2020-05-27Use dir_name_view for script environment working and sandbox directoriesKaren Arutyunov4-44/+81
2020-05-27Wrap up $<, $> variables and related ($target.path(), hashing, cleanup)Boris Kolpackov1-1/+1
2020-05-27Review (temp dir)Boris Kolpackov1-2/+2
2020-05-27Add script command redirect aliasesKaren Arutyunov11-178/+441
2020-05-27Make build script to create special files in temporary directoryKaren Arutyunov2-40/+91
2020-05-27Complete dump(ostream,script::lines)Karen Arutyunov2-35/+133
2020-05-27Implement build script variable hashingBoris Kolpackov1-2/+0
2020-05-27Partially implement dump(ostream,script::lines)Karen Arutyunov1-7/+22
2020-05-27Set proper build script command default redirectsKaren Arutyunov4-96/+236
Also add printing of set and exit pseudo-builtin command arguments for verb >= 2 as we do for normal builtins.
2020-05-27Integrate buildscript running into recipe default_action()Boris Kolpackov1-25/+25
2020-05-27Integrate buildscript pre-parsing into recipe parsingBoris Kolpackov1-1/+1
2020-05-27Make build script variable pool local to execution environmentBoris Kolpackov2-4/+28
2020-05-27Add dump(ostream,script::lines) (partial implementation)Karen Arutyunov5-5/+76
2020-05-27Factor out generic script parsing/executing functionality from ↵Karen Arutyunov21-0/+8522
build2::test::script namespace