Merge pull request #309 from colincross/providers

Add Providers to Blueprint
tree: df1585f8e87ff8607c0ee6f19b326cacf74242fd
  1. .github/
  2. .gitignore
  3. .gofmt.sh
  4. Blueprints
  5. CONTRIBUTING.md
  6. LICENSE
  7. README.md
  8. blueprint.bash
  9. blueprint_impl.bash
  10. bootstrap.bash
  11. bootstrap/
  12. bpfmt/
  13. bpmodify/
  14. context.go
  15. context_test.go
  16. deptools/
  17. doc.go
  18. glob.go
  19. glob_test.go
  20. go.mod
  21. gotestmain/
  22. gotestrunner/
  23. live_tracker.go
  24. loadplugins/
  25. mangle.go
  26. microfactory/
  27. module_ctx.go
  28. module_ctx_test.go
  29. name_interface.go
  30. ninja_defs.go
  31. ninja_strings.go
  32. ninja_strings_test.go
  33. ninja_writer.go
  34. ninja_writer_test.go
  35. package_ctx.go
  36. parser/
  37. pathtools/
  38. proptools/
  39. provider.go
  40. provider_test.go
  41. scope.go
  42. singleton_ctx.go
  43. splice_modules_test.go
  44. tests/
  45. visit_test.go
README.md

Blueprint Build System

build

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.