diff --git a/cli/mad/.gitignore b/cli/mad/.gitignore new file mode 100644 index 0000000..a2a0541 --- /dev/null +++ b/cli/mad/.gitignore @@ -0,0 +1 @@ +mad diff --git a/cli/mad/build.sh b/cli/mad/build.sh index 93483ef..0e4128e 100755 --- a/cli/mad/build.sh +++ b/cli/mad/build.sh @@ -7,20 +7,20 @@ fi mkdir _ -CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags="-w -s" -o _/mad_darwin_arm64 -CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_darwin_amd64 -CGO_ENABLED=0 GOOS=freebsd GOARCH=386 go build -ldflags="-w -s" -o _/mad_freebsd_386 -CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_freebsd_amd64 -CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags="-w -s" -o _/mad_linux_386 -CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_linux_amd64 -CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-w -s" -o _/mad_linux_arm64 -CGO_ENABLED=0 GOOS=netbsd GOARCH=386 go build -ldflags="-w -s" -o _/mad_netbsd_386 -CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_netbsd_amd64 -CGO_ENABLED=0 GOOS=openbsd GOARCH=386 go build -ldflags="-w -s" -o _/mad_openbsd_386 -CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_openbsd_amd64 -CGO_ENABLED=0 GOOS=openbsd GOARCH=arm64 go build -ldflags="-w -s" -o _/mad_openbsd_arm64 -CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags="-w -s" -o _/mad_windows_amd64.exe -CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -ldflags="-w -s" -o _/mad_windows_386.exe +CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -trimpath -ldflags="-w -s" -o _/mad_darwin_arm64 +CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_darwin_amd64 +CGO_ENABLED=0 GOOS=freebsd GOARCH=386 go build -trimpath -ldflags="-w -s" -o _/mad_freebsd_386 +CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_freebsd_amd64 +CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -trimpath -ldflags="-w -s" -o _/mad_linux_386 +CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_linux_amd64 +CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -trimpath -ldflags="-w -s" -o _/mad_linux_arm64 +CGO_ENABLED=0 GOOS=netbsd GOARCH=386 go build -trimpath -ldflags="-w -s" -o _/mad_netbsd_386 +CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_netbsd_amd64 +CGO_ENABLED=0 GOOS=openbsd GOARCH=386 go build -trimpath -ldflags="-w -s" -o _/mad_openbsd_386 +CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_openbsd_amd64 +CGO_ENABLED=0 GOOS=openbsd GOARCH=arm64 go build -trimpath -ldflags="-w -s" -o _/mad_openbsd_arm64 +CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -trimpath -ldflags="-w -s" -o _/mad_windows_amd64.exe +CGO_ENABLED=0 GOOS=windows GOARCH=386 go build -trimpath -ldflags="-w -s" -o _/mad_windows_386.exe nami release github.com/txthinking/mad $1 _ diff --git a/cli/mad/mad b/cli/mad/mad deleted file mode 100755 index 66ab2c3..0000000 Binary files a/cli/mad/mad and /dev/null differ