diff --git a/revel/build.go b/revel/build.go index e4231ab..315ec70 100644 --- a/revel/build.go +++ b/revel/build.go @@ -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] } diff --git a/revel/package.go b/revel/package.go index 9c8272b..41ea785 100644 --- a/revel/package.go +++ b/revel/package.go @@ -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] }