commit | 9c4e0508527a420e2a957e09c3ce8e898e8d4090 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Jan 13 13:56:24 2016 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Jan 13 13:58:45 2016 -0800 |
tree | e27b4933194b4872d6825dfa30bdc7f055377574 | |
parent | fc5bf58609afc15b995c236aab5476f14b7746df [diff] |
docs: Allow propery structs to contain non-struct ptrs Other parts of blueprint have started allowing pointers to strings and booleans. This code silently allowed them because of the nil check, but it doesn't work if the module factory sets a default value.
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.