commit | 265d92c7fa10ca0545215f18403bc1c4880334fc | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Dec 09 18:06:23 2015 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Dec 09 18:06:23 2015 -0800 |
tree | 2fb64d165aa8cd05e79f88238eddb69dccde25ab | |
parent | e8b63ad172f5ce5316cbf0193c9fcaab7575aadf [diff] |
Add SingletonContext.Failed() Identical to ModuleContext.Failed(), just returns whether there has been an error added to the context.
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.