Skip to content

Commit

Permalink
update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ygidtu committed Jul 15, 2020
1 parent 7893dc7 commit 0f95eeb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/usr/bin/env bash

env GOOS=darwin GOARCH=amd64 go build -o REDItools2_darwin_amd64 .
env GOOS=linux GOARCH=amd64 go build -o REDItools2_linux_amd64 .
env GOOS=windows GOARCH=amd64 go build -o REDItools2_win_amd64.exe .
git checkout master
env GOOS=darwin GOARCH=amd64 go build -o REDItools2_l_darwin_amd64 .
env GOOS=linux GOARCH=amd64 go build -o REDItools2_l_linux_amd64 .
env GOOS=windows GOARCH=amd64 go build -o REDItools2_l_win_amd64.exe .


git checkout dev
env GOOS=darwin GOARCH=amd64 go build -o REDItools2_h_darwin_amd64 .
env GOOS=linux GOARCH=amd64 go build -o REDItools2_h_linux_amd64 .
env GOOS=windows GOARCH=amd64 go build -o REDItools2_h_win_amd64.exe .

git checkout master

0 comments on commit 0f95eeb

Please sign in to comment.