aboutsummaryrefslogtreecommitdiff
path: root/build/rule-map
AgeCommit message (Collapse)AuthorFilesLines
2015-12-03Clean up rule namesBoris Kolpackov1-0/+8
2015-12-01Reimplement define as dynamic derivation rather than aliasBoris Kolpackov1-3/+2
New syntax: define cli: file The rationale is we need to be able to assign the file extension (using type/pattern-specific variables). And if it is an alias, we will assign it to the original target type. Note that we could still support aliases if we need to. Will need to bring back the id member in target_type that would normally point to itself but for an alias would point to the origin.
2015-08-31Rework scoping logicBoris Kolpackov1-0/+6
Now the src directory is entered into the scope map and points to the same scope as out. This means that targets that are in src, not out (e.g., source files) will "see" rules, variables, etc. This becomes important when we try, for example, to install a source file (say, a header) from src: we need the rule as well as the install.* variables.
2015-08-27Dist module/meta-operation initial implementationBoris Kolpackov1-7/+63
2015-07-07Rework module architectureBoris Kolpackov1-0/+46
Now the target type and rule maps are in scopes (builtins -- in global scope). We also now have the map of loaded modules in the root scope of each project.