Skip to content

Commit

Permalink
script/release: remove Godeps from build
Browse files Browse the repository at this point in the history
  • Loading branch information
ttaylorr committed May 29, 2018
1 parent 703cd2d commit 12f0ad6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions script/release
Original file line number Diff line number Diff line change
Expand Up @@ -34,49 +34,49 @@ mkdir dist

echo "Building darwin amd64"
mkdir -p dist/lfs-test-server-darwin-amd64
GOPATH=`pwd`/Godeps/_workspace GOOS=darwin GOARCH=amd64 go build -o dist/lfs-test-server-darwin-amd64/lfs-test-server
GOOS=darwin GOARCH=amd64 go build -o dist/lfs-test-server-darwin-amd64/lfs-test-server
cp README.md dist/lfs-test-server-darwin-amd64
cp LICENSE dist/lfs-test-server-darwin-amd64
cd dist && tar zcf lfs-test-server-darwin-amd64-$version.tar.gz lfs-test-server-darwin-amd64; cd ..

echo "Building linux 386"
mkdir -p dist/lfs-test-server-linux-386
GOPATH=`pwd`/Godeps/_workspace GOOS=linux GOARCH=386 go build -o dist/lfs-test-server-linux-386/lfs-test-server
GOOS=linux GOARCH=386 go build -o dist/lfs-test-server-linux-386/lfs-test-server
cp README.md dist/lfs-test-server-linux-386
cp LICENSE dist/lfs-test-server-linux-386
cd dist && tar zcf lfs-test-server-linux-386-$version.tar.gz lfs-test-server-linux-386; cd ..

echo "Building linux amd64"
mkdir -p dist/lfs-test-server-linux-amd64
GOPATH=`pwd`/Godeps/_workspace GOOS=linux GOARCH=amd64 go build -o dist/lfs-test-server-linux-amd64/lfs-test-server
GOOS=linux GOARCH=amd64 go build -o dist/lfs-test-server-linux-amd64/lfs-test-server
cp README.md dist/lfs-test-server-linux-amd64
cp LICENSE dist/lfs-test-server-linux-amd64
cd dist && tar zcf lfs-test-server-linux-amd64-$version.tar.gz lfs-test-server-linux-amd64; cd ..

echo "Building freebsd 386"
mkdir -p dist/lfs-test-server-freebsd-386
GOPATH=`pwd`/Godeps/_workspace GOOS=freebsd GOARCH=386 go build -o dist/lfs-test-server-freebsd-386/lfs-test-server
GOOS=freebsd GOARCH=386 go build -o dist/lfs-test-server-freebsd-386/lfs-test-server
cp README.md dist/lfs-test-server-freebsd-386
cp LICENSE dist/lfs-test-server-freebsd-386
cd dist && tar zcf lfs-test-server-freebsd-386-$version.tar.gz lfs-test-server-freebsd-386; cd ..

echo "Building freebsd amd64"
mkdir -p dist/lfs-test-server-freebsd-amd64
GOPATH=`pwd`/Godeps/_workspace GOOS=freebsd GOARCH=amd64 go build -o dist/lfs-test-server-freebsd-amd64/lfs-test-server
GOOS=freebsd GOARCH=amd64 go build -o dist/lfs-test-server-freebsd-amd64/lfs-test-server
cp README.md dist/lfs-test-server-freebsd-amd64
cp LICENSE dist/lfs-test-server-freebsd-amd64
cd dist && tar zcf lfs-test-server-freebsd-amd64-$version.tar.gz lfs-test-server-freebsd-amd64; cd ..

echo "Building windows 386"
mkdir -p dist/lfs-test-server-windows-386
GOPATH=`pwd`/Godeps/_workspace GOOS=windows GOARCH=386 go build -o dist/lfs-test-server-windows-386/lfs-test-server.exe
GOOS=windows GOARCH=386 go build -o dist/lfs-test-server-windows-386/lfs-test-server.exe
cp README.md dist/lfs-test-server-windows-386
cp LICENSE dist/lfs-test-server-windows-386
cd dist && zip -q -j lfs-test-server-windows-386-$version.zip lfs-test-server-windows-386/*; cd ..

echo "Building windows amd64"
mkdir -p dist/lfs-test-server-windows-amd64
GOPATH=`pwd`/Godeps/_workspace GOOS=windows GOARCH=amd64 go build -o dist/lfs-test-server-windows-amd64/lfs-test-server.exe
GOOS=windows GOARCH=amd64 go build -o dist/lfs-test-server-windows-amd64/lfs-test-server.exe
cp README.md dist/lfs-test-server-windows-amd64
cp LICENSE dist/lfs-test-server-windows-amd64
cd dist && zip -q -j lfs-test-server-windows-amd64-$version.zip lfs-test-server-windows-amd64/*; cd ..
Expand Down

0 comments on commit 12f0ad6

Please sign in to comment.