No description
Find a file
Colin Cross 10b54db7cc Fix panic when dependency cycle includes the first module visited
The cycle check can panic if the first call to check happens to land
on the first module in a cycle.  Print the cycle instead of panicking.

Change-Id: I6fc1c66dcc37b1eb6b11b9e65343452af3c8538d
2015-03-11 16:09:00 -07:00
bootstrap Merge pull request #3 from colincross/features 2015-03-10 13:06:59 -07:00
bpfmt Move blueprint/* up a directory 2015-01-23 14:23:27 -08:00
bpmodify Move blueprint/* up a directory 2015-01-23 14:23:27 -08:00
deptools Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
parser Fix whitespace in parser/parser.go 2015-03-10 14:42:13 -07:00
pathtools Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
proptools Fix bug when copying slice to itself 2015-03-11 16:09:00 -07:00
Blueprints Run bpfmt -w . to reformat Blueprints file 2015-01-26 16:56:10 -08:00
bootstrap.bash Clean up the bootstrap script a little. 2014-06-18 12:57:56 -07:00
build.ninja.in Run bpfmt -w . to reformat Blueprints file 2015-01-26 16:56:10 -08:00
context.go Fix panic when dependency cycle includes the first module visited 2015-03-11 16:09:00 -07:00
context_test.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
doc.go Add overall Blueprint documentation 2015-02-04 11:23:46 -08:00
LICENSE Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
live_tracker.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
mangle.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
module_ctx.go Report variant errors instead of panicing 2015-03-04 14:00:50 -08:00
ninja_defs.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
ninja_strings.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
ninja_strings_test.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
ninja_writer.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
ninja_writer_test.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
package_ctx.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
README.md Add an initial README.md 2015-01-27 16:34:17 -05:00
scope.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
singleton_ctx.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
unpack.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00
unpack_test.go Add license headers and LICENSE file 2015-01-23 14:23:27 -08:00

Blueprint Build System

Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja (http://martine.github.io/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 langauge 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.