func main() { flag.Parse() ctx := blueprint.NewContext() if !runAsPrimaryBuilder { ctx.SetIgnoreUnknownModuleTypes(true) } config := Config(!runAsPrimaryBuilder) bootstrap.Main(ctx, config) }
func main() { flag.Parse() ctx := blueprint.NewContext() if !runAsPrimaryBuilder { ctx.SetIgnoreUnknownModuleTypes(true) } config := Config{ generatingBootstrapper: !runAsPrimaryBuilder && !buildPrimaryBuilder, generatingPrimaryBuilder: !runAsPrimaryBuilder && buildPrimaryBuilder, } bootstrap.Main(ctx, config) }