commit | 10e4357dbb7b0b4e50fe595771a8cb8175d23150 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Jan 18 14:37:13 2017 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Jan 18 14:37:13 2017 -0800 |
tree | 51d6bc8c3be3d987308b6e9f5a8b3adb248e5b86 | |
parent | e8a33ee6239e8b5b014da056b9377cea894b845f [diff] |
Fix -test.run test selection with gotestmain matchString was implemented separately on older go versions since they didn't want a build dependency on the regex package from the testing package. Starting in Go 1.8, this is implemented using a internal package to break the dependency, but until we require that everywhere, just copy the regex implementation like the old `go test` did. I'm not sure we'll be able to use the internal package in the future anyways. Change-Id: Ief37542640026f9d73a75fd802f2691af50e2511
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.