Compare commits
No commits in common. '9a6fc3475a00e595a4371296c4e92f477f7e94bd' and '122cd5ed041c8c851a2ae3086b1bbfa4f0c74978' have entirely different histories.
9a6fc3475a
...
122cd5ed04
@ -1,3 +1,2 @@
|
|||||||
ccat
|
ccat
|
||||||
*.zip
|
|
||||||
|
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
POSSIBLE_GOOS=( "linux" "darwin" )
|
|
||||||
POSSIBLE_GOARCH=( "amd64" "arm64" )
|
|
||||||
|
|
||||||
for OS in "${POSSIBLE_GOOS[@]}"; do
|
|
||||||
for ARCH in "${POSSIBLE_GOARCH[@]}"; do
|
|
||||||
FOLDER_NAME="ccat-$OS-$ARCH"
|
|
||||||
mkdir "${FOLDER_NAME}"
|
|
||||||
GOOS=$OS GOARCH=$ARCH go build -o "${FOLDER_NAME}/"
|
|
||||||
zip -r "${FOLDER_NAME}" "${FOLDER_NAME}"
|
|
||||||
rm -r "${FOLDER_NAME}"
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
Loading…
Reference in New Issue