Skip to content

Commit

Permalink
Merge pull request #4 from 3nan3/feature/add-build-script
Browse files Browse the repository at this point in the history
Add build script
  • Loading branch information
3nan3 committed Feb 1, 2020
2 parents 6396ba4 + 4fa92d0 commit 94c193a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash
list=(
"linux amd64"
"darwin amd64"
)

for row in "${list[@]}"
do
os_arch=($row)
GOOS=${os_arch[0]} GOARCH=${os_arch[1]} go build -o ssmenv_${os_arch[0]}_${os_arch[1]} main.go
done

0 comments on commit 94c193a

Please sign in to comment.