[ci skip] remove windows support.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2016-04-12 15:37:53 +08:00
parent 8e6ec1210e
commit d8b0ee700c
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
OS="darwin linux windows" OS="darwin linux"
ARCH="amd64" ARCH="amd64"
for GOOS in $OS; do for GOOS in $OS; do
@ -10,5 +10,6 @@ for GOOS in $OS; do
echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}" echo "Build: ${GOOS}, Arch: ${GOARCH}, EXE: ${EXE}"
GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-w" -o bin/$GOOS/$GOARCH/${EXE} gopush.go; GOOS=$GOOS GOARCH=$GOARCH go build -ldflags="-w" -o bin/$GOOS/$GOARCH/${EXE} gopush.go;
tar -C bin/$GOOS/$GOARCH -czf bin/gopush-$GOOS-$GOARCH.tar.gz gopush
done done
done done