commit | e52c33c61c87bfd10bba6f65e60143af1d02c458 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue May 21 10:22:28 2019 -0700 |
committer | Colin Cross <ccross@android.com> | Tue May 21 11:03:00 2019 -0700 |
tree | 2a1cb842fdab6fe24971993a3304ec7aa2424ff4 | |
parent | 19ef680bc46cdd26055fd3112776bba77c6e6292 [diff] |
Correctly report errors in bpfmt bpfmt was always exiting with return code 0, make it use the exitCode recorded when reporting errors. Also use the usage function. Test: bpfmt -o bpfmt.go Test: bpfmt Test: bpfmt -h Fixes: 113069050 Change-Id: I717d524c5f43cd36f52e33964a37324cc04c5df0
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.