mirror of
https://github.com/kevin-DL/revel-cmd.git
synced 2026-01-11 18:54:31 +00:00
revel/revel#1064 windows filepath fix
This commit is contained in:
@@ -63,7 +63,7 @@ func Build(buildFlags ...string) (app *App, compileError *revel.Error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Binary path is a combination of $GOBIN/revel.d directory, app's import path and its name.
|
// Binary path is a combination of $GOBIN/revel.d directory, app's import path and its name.
|
||||||
binName := path.Join(pkg.BinDir, "revel.d", revel.ImportPath, path.Base(revel.BasePath))
|
binName := filepath.Join(pkg.BinDir, "revel.d", revel.ImportPath, filepath.Base(revel.BasePath))
|
||||||
|
|
||||||
// Change binary path for Windows build
|
// Change binary path for Windows build
|
||||||
goos := runtime.GOOS
|
goos := runtime.GOOS
|
||||||
|
|||||||
Reference in New Issue
Block a user