package tool

This commit is contained in:
Liang Ding 2014-11-03 22:18:26 +08:00
parent 5d8c8e5d3a
commit 18c1e7f17d
1 changed files with 6 additions and 6 deletions

View File

@ -23,13 +23,13 @@ os=darwin
export GOOS=${os} export GOOS=${os}
export GOARCH=386 export GOARCH=386
go build go build
tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs --exclude conf/*.go --exclude i18n/*.go
rm -f wide rm -f wide
export GOOS=${os} export GOOS=${os}
export GOARCH=amd64 export GOARCH=amd64
go build go build
tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs --exclude conf/*.go --exclude i18n/*.go
rm -f wide rm -f wide
## linux ## linux
@ -38,13 +38,13 @@ os=linux
export GOOS=${os} export GOOS=${os}
export GOARCH=386 export GOARCH=386
go build go build
tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs --exclude conf/*.go --exclude i18n/*.go
rm -f wide rm -f wide
export GOOS=${os} export GOOS=${os}
export GOARCH=amd64 export GOARCH=amd64
go build go build
tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs tar zcvf ${target}/wide-${ver}-${GOOS}-${GOARCH}.tar.gz ${list} wide --exclude-vcs --exclude conf/*.go --exclude i18n/*.go
rm -f wide rm -f wide
## windows ## windows
@ -53,11 +53,11 @@ os=windows
export GOOS=${os} export GOOS=${os}
export GOARCH=386 export GOARCH=386
go build go build
zip -r ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} wide.exe zip -r ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} wide.exe --exclude=conf/*.go --exclude=i18n/*.go
rm -f wide.exe rm -f wide.exe
export GOOS=${os} export GOOS=${os}
export GOARCH=amd64 export GOARCH=amd64
go build go build
zip -r ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} wide.exe zip -r ${target}/wide-${ver}-${GOOS}-${GOARCH}.zip ${list} wide.exe --exclude=conf/*.go --exclude=i18n/*.go
rm -f wide.exe rm -f wide.exe