Skip to content
Snippets Groups Projects
Commit 9226197b authored by MICHAEL EUGENE ZALEWSKI's avatar MICHAEL EUGENE ZALEWSKI Committed by CHRISTOPHER PIKE
Browse files

Adding options for skip swag

parent bd61fac8
No related branches found
No related tags found
1 merge request!15Adding options for skip swag
......@@ -149,7 +149,12 @@ func build(config config.Config) error {
fallthrough
case "go":
environment.RunRequired(true, "make", "build")
environment.RunRequired(true, "make", "swagger")
if !config.SkipSwag {
color.Green("Running swag command")
environment.RunRequired(true, "make", "swagger")
} else {
color.Green("Skipping swag command")
}
case "angular":
environment.RunRequired(true, "yarn", "build:prod")
case "dotnetcore":
......
......@@ -16,6 +16,7 @@ type (
OpenUrlPath string `json:"openUrlPath"`
LocalEnvVars []string `json:"localEnvVars"`
LocalSecrets []string `json:"localSecrets"`
SkipSwag bool `json:"skipSwag"`
}
Deployable struct {
Name string `json:"name"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment