Split main file

Added code to split the generated main file into two separate files. This allows other code to launch the web application inline.
This commit is contained in:
NotZippy
2018-09-19 09:45:59 -07:00
parent 4d7a290247
commit 17459d14e6
6 changed files with 86 additions and 45 deletions

View File

@@ -78,6 +78,7 @@ func testApp(c *model.CommandConfig) {
if c.Test.Mode != "" {
mode = c.Test.Mode
}
c.ImportPath = c.Test.ImportPath
// Find and parse app.conf
revel_path := model.NewRevelPaths(mode, c.Test.ImportPath, "", model.DoNothingRevelCallback)