mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
Update build.go
add missing c.Build.ImportPath, which is required to generate run.sh and run.bat
This commit is contained in:
@@ -62,6 +62,7 @@ func buildApp(c *model.CommandConfig) (err error) {
|
||||
// Convert target to absolute path
|
||||
c.Build.TargetPath, _ = filepath.Abs(destPath)
|
||||
c.Build.Mode = mode
|
||||
c.Build.ImportPath = appImportPath
|
||||
|
||||
revel_paths, err := model.NewRevelPaths(mode, appImportPath, "", model.NewWrappedRevelCallback(nil, c.PackageResolver))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user