Skip to content

Commit

Permalink
👍 Add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
3nan3 committed Feb 1, 2020
1 parent 25e034d commit 4fa92d0
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 4fa92d0

Please sign in to comment.