Skip to content

Commit

Permalink
build.sh: Only build x64
Browse files Browse the repository at this point in the history
Signed-off-by: Jianhui Zhao <[email protected]>
  • Loading branch information
Jianhui Zhao committed Jun 14, 2018
1 parent 34f6f6f commit 55203a6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
cp -r root root_tmp
mkdir -p root_tmp/usr/local/bin

export GOARCH="amd64"
go build
mv rttys root_tmp/usr/local/bin
tar zcvf rttys-x64.tar.gz -C root_tmp/ etc usr


export GOARCH="386"
go build
mv rttys root_tmp/usr/local/bin
tar zcvf rttys.tar.gz -C root_tmp/ etc usr
rm root_tmp -r

0 comments on commit 55203a6

Please sign in to comment.