Skip to content

Commit

Permalink
v20240428
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Apr 28, 2024
1 parent 4676f70 commit ca29587
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions cli/mad/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mad
28 changes: 14 additions & 14 deletions cli/mad/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 _

Expand Down
Binary file removed cli/mad/mad
Binary file not shown.

0 comments on commit ca29587

Please sign in to comment.