default run mode value updated dev

This commit is contained in:
Jeevanandam M
2016-05-26 17:14:53 -07:00
parent 5282ce262b
commit b00267450e
2 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ This allows it to be deployed and run on a machine that lacks a Go installation.
The run mode is used to select which set of app.conf configuration should
apply and may be used to determine logic in the application itself.
Run mode defaults to "prod".
Run mode defaults to "dev".
WARNING: The target path will be completely deleted, if it already exists!
@@ -41,7 +41,7 @@ func buildApp(args []string) {
return
}
appImportPath, destPath, mode := args[0], args[1], "prod"
appImportPath, destPath, mode := args[0], args[1], "dev"
if len(args) >= 3 {
mode = args[2]
}

View File

@@ -19,7 +19,7 @@ This allows it to be deployed and run on a machine that lacks a Go installation.
The run mode is used to select which set of app.conf configuration should
apply and may be used to determine logic in the application itself.
Run mode defaults to "prod".
Run mode defaults to "dev".
For example:
@@ -38,7 +38,7 @@ func packageApp(args []string) {
}
// Determine the run mode.
mode := "prod"
mode := "dev"
if len(args) >= 2 {
mode = args[1]
}