aboutsummaryrefslogtreecommitdiff
path: root/build2/in/rule.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-24Move in build system module to separate libraryBoris Kolpackov1-485/+0
2019-07-01Split build system into library and driverBoris Kolpackov1-7/+7
2019-04-08Support for --dry-run|-n mode, perform update partBoris Kolpackov1-3/+8
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-11-28Add --[no-]mtime-check options to control this behavior at runtimeBoris Kolpackov1-1/+1
By default the checks are enabled only for the staged toolchain.
2018-11-24Use \n instead of endl in in ruleBoris Kolpackov1-2/+2
2018-11-22Tweak in rule to ensure correct mtime orderBoris Kolpackov1-1/+4
2018-11-22Make backwards modification time check permanent, add another experimentBoris Kolpackov1-0/+2
2018-11-19Finalize workaround for backwards modification time issueBoris Kolpackov1-1/+1
2018-11-16Adjust tracing level for few noisy casesBoris Kolpackov1-1/+4
2018-07-24Make exe{} target default to no extension rather than failBoris Kolpackov1-4/+1
This just keep breaking (this time for exe{}: in{} match during distribution). So we assume rules will assign the target platform extension if necessary and if not, then we default to no extension (e.g., a shell script).
2018-07-20Implement bash moduleBoris Kolpackov1-64/+91
2018-07-17Reimplement version::in_rule in terms of in::ruleBoris Kolpackov1-4/+7
Significantly, the version::in_rule rule now track changes to the substitution values.
2018-07-17Handle executables (permissions, extensions) in in::ruleBoris Kolpackov1-2/+20
2018-07-17Add ability to customize in::rule's default symbol and modeBoris Kolpackov1-2/+2
2018-07-16Implement in moduleBoris Kolpackov1-0/+427
Given test.in containing something along these lines: foo = $foo$ Now we can do: using in file{test}: in{test.in} file{test}: foo = FOO The alternative variable substitution symbol can be specified with the in.symbol variable and lax (instead of the default strict) mode with in.substitution. For example: file{test}: in.symbol = '@' file{test}: in.substitution = lax