aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/build/script
AgeCommit message (Collapse)AuthorFilesLines
2020-05-27Add support for value subscript after expansionsadhoc-recipe-historyBoris Kolpackov1-8/+7
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 Kolpackov6-28/+24
2020-05-27Create build script temporary directory on demandKaren Arutyunov6-107/+175
2020-05-27Use dir_name_view for script environment working and sandbox directoriesKaren Arutyunov1-2/+2
2020-05-27Wrap up $<, $> variables and related ($target.path(), hashing, cleanup)Boris Kolpackov8-28/+79
2020-05-27Review (temp dir)Boris Kolpackov1-5/+12
2020-05-27Add script command redirect aliasesKaren Arutyunov9-119/+308
2020-05-27Make build script to create special files in temporary directoryKaren Arutyunov3-7/+108
2020-05-27Complete dump(ostream,script::lines)Karen Arutyunov2-47/+127
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 Kolpackov2-4/+50
2020-05-27Add ability to notice variable expansions in pre-parse modeBoris Kolpackov1-1/+2
2020-05-27Partially implement dump(ostream,script::lines)Karen Arutyunov2-0/+21
2020-05-27Remove redundant script member from build::script::environment classKaren Arutyunov5-10/+8
2020-05-27Add support for dry run mode for build script runnerKaren Arutyunov2-5/+21
2020-05-27Set proper build script command default redirectsKaren Arutyunov2-3/+14
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-27Integrate buildscript running into recipe default_action()Boris Kolpackov4-7/+16
2020-05-27Integrate buildscript pre-parsing into recipe parsingBoris Kolpackov2-6/+9
2020-05-27Make build script variable pool local to execution environmentBoris Kolpackov3-61/+25
2020-05-27Add dump(ostream,script::lines) (partial implementation)Karen Arutyunov5-8/+60
2020-05-27Add build scriptKaren Arutyunov29-0/+3322