Skip to content

Commit

Permalink
Added build script for making releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaprit committed Apr 23, 2022
1 parent 8795d3a commit a508759
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions make.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/sh

OSES=("windows" "darwin" "linux")
ARCHES=("386" "amd64" "arm64")

for os in ${OSES[@]}
do
for arch in ${ARCHES[@]}
do
echo "Building for $os/$arch..."
GOOS=$os GOARCH=$arch go build -o GoGSM-$os-$arch .
echo "Done!"
echo
done
done

0 comments on commit a508759

Please sign in to comment.