commit | a664b0a7d6b6f6a7aab395b630a643f926e0b82d | [log] [tgz] |
---|---|---|
author | Tim Kilbourn <tkilbourn@gmail.com> | Wed Mar 23 20:39:43 2016 -0700 |
committer | Tim Kilbourn <tkilbourn@gmail.com> | Wed Mar 23 20:57:43 2016 -0700 |
tree | 26ec4748c31a266430987a70345bbc47b726a2c9 | |
parent | 4a9ea518001f02c9cba52a12d1e961807f7f80de [diff] |
Fix package names for executables. Go 1.6 fixed a bug where compiling with the -pack flag allowed non-main packages to link. https://github.com/golang/go/issues/13468 This change uses package main for choosestage and gotestmain.
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.