Do not override binaries in $GOPATH/bin (fix #819)

This commit is contained in:
anonx
2015-01-04 08:42:12 +06:00
parent 2ea9a111a0
commit cb83616943

View File

@@ -61,7 +61,7 @@ func Build(buildFlags ...string) (app *App, compileError *revel.Error) {
if err != nil {
revel.ERROR.Fatalln("Failure importing", revel.ImportPath)
}
binName := path.Join(pkg.BinDir, path.Base(revel.BasePath))
binName := path.Join(pkg.BinDir, "revel.d", path.Base(revel.BasePath))
// Change binary path for Windows build
goos := runtime.GOOS