platform_build_blueprint/microfactory
Dan Willemsen ff092863b3 Allow microfactory to be used as a package
In addition to running with `go run` and creating a microfactory binary,
allow microfactory to be used as a package from other go tools as well.

To allow other packages to use this, it needs to be in a non-main
package, but `go run` requires a main package. So microfactory.bash runs
a sed script before running microfactory with `go run`.

This could also be solved by using a relative import, but neither
blueprint nor microfactory currently support that.

Change-Id: I084163b14720102b3fb93a3c9d44b5d0225ff2c8
2017-08-08 13:19:26 -07:00
..
main Allow microfactory to be used as a package 2017-08-08 13:19:26 -07:00
microfactory.bash Allow microfactory to be used as a package 2017-08-08 13:19:26 -07:00
microfactory.go Allow microfactory to be used as a package 2017-08-08 13:19:26 -07:00
microfactory_test.go Allow microfactory to be used as a package 2017-08-08 13:19:26 -07:00