|
|
@ -23,9 +23,9 @@ build-all: tools |
|
|
|
rm -rf ./dist |
|
|
|
gox -verbose \
|
|
|
|
-ldflags "-s -w" \
|
|
|
|
-arch="amd64 386" \
|
|
|
|
-os="linux darwin windows" \
|
|
|
|
-osarch="!darwin/386" \
|
|
|
|
-arch="amd64 386 arm arm64" \
|
|
|
|
-os="linux darwin windows freebsd" \
|
|
|
|
-osarch="!darwin/arm !darwin/arm64" \
|
|
|
|
-output="dist/{{.OS}}-{{.Arch}}/{{.Dir}}" . |
|
|
|
|
|
|
|
dist: build-all |
|
|
|