1
0
mirror of https://github.com/beego/bee.git synced 2024-11-22 10:10:53 +00:00

Bug fixed

This commit is contained in:
Unknown 2013-12-13 21:39:16 -05:00
parent 49c53400ea
commit cce4f8c289

View File

@ -137,6 +137,9 @@ func Autobuild() {
if runtime.GOOS == "windows" { if runtime.GOOS == "windows" {
appName += ".exe" appName += ".exe"
} }
if isExist(appName) {
os.Remove(appName)
}
binPath := GetGOPATHs()[0] + "/bin/" + appName binPath := GetGOPATHs()[0] + "/bin/" + appName
if conf.GoInstall && isExist(binPath) { if conf.GoInstall && isExist(binPath) {