Skip to content

Commit

Permalink
Remove unused architectures in build step
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqingfeng committed Dec 14, 2023
1 parent 7b24f57 commit 4a93f7d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ test:

build-all: fmt generate
GOOS=linux GOARCH=amd64 go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-linux-amd64 main.go && \
GOOS=linux GOARCH=386 go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-linux-386 main.go && \
GOOS=linux GOARCH=arm go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-linux-arm main.go && \
GOOS=darwin GOARCH=amd64 go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-darwin-amd64 main.go && \
GOOS=windows GOARCH=amd64 go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-windows-amd64.exe main.go && \
GOOS=windows GOARCH=386 go build -ldflags "-w -s -X main.version=${VERSION}" -o out/mailman-windows-386.exe main.go

0 comments on commit 4a93f7d

Please sign in to comment.