diff --git a/cmd/xxhsum/.gitignore b/cmd/xxhsum/.gitignore new file mode 100644 index 0000000..f84e573 --- /dev/null +++ b/cmd/xxhsum/.gitignore @@ -0,0 +1 @@ +xxhsum* diff --git a/cmd/xxhsum/build.sh b/cmd/xxhsum/build.sh new file mode 100644 index 0000000..584c964 --- /dev/null +++ b/cmd/xxhsum/build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +VERSION=$1 + +env GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -ldflags "-s -w" -o xxhsum64-${VERSION}.exe || exit 1 +env GOOS=windows GOARCH=386 CGO_ENABLED=0 go build -ldflags "-s -w" -o xxhsum32-${VERSION}.exe || exit 1