mirror of https://github.com/dmarkham/enumer.git
Adding support for Apple arm64
This commit is contained in:
parent
9d0b7d4c67
commit
367f14bcb1
1
Makefile
1
Makefile
|
@ -7,6 +7,7 @@ build-cli: clean
|
||||||
-mkdir -p ./cli/build
|
-mkdir -p ./cli/build
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o ./cli/build/enumer.linux-amd64 .
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o ./cli/build/enumer.linux-amd64 .
|
||||||
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -o ./cli/build/enumer.darwin-amd64 .
|
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -o ./cli/build/enumer.darwin-amd64 .
|
||||||
|
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -a -o ./cli/build/enumer.darwin-arm64 .
|
||||||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o ./cli/build/enumer.windows-amd64.exe .
|
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -a -o ./cli/build/enumer.windows-amd64.exe .
|
||||||
cd ./cli/build && find . -name 'enumer*' | xargs -I{} tar czf {}.tar.gz {}
|
cd ./cli/build && find . -name 'enumer*' | xargs -I{} tar czf {}.tar.gz {}
|
||||||
cd ./cli/build && shasum -a 256 * > sha256sum.txt
|
cd ./cli/build && shasum -a 256 * > sha256sum.txt
|
||||||
|
|
Loading…
Reference in New Issue