Skip to content

Commit

Permalink
Make an Apple Silicon release too
Browse files Browse the repository at this point in the history
  • Loading branch information
markshep-wbg committed Dec 12, 2024
1 parent e83ae11 commit 366f8d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ clean:

.PHONY: release_aarch64
release_aarch64 := \
bin/ct-$(VERSION)-aarch64-unknown-linux-gnu
bin/ct-$(VERSION)-aarch64-unknown-linux-gnu \
bin/ct-$(VERSION)-aarch64-apple-darwin

.PHONY: release_x86_64
release_x86_64 := \
Expand All @@ -46,6 +47,7 @@ release_x86_64 := \
release: $(release_aarch64) $(release_x86_64)

bin/ct-%-aarch64-unknown-linux-gnu: GOARGS = GOOS=linux GOARCH=arm64
bin/ct-%-aarch64-apple-darwin: GOARGS = GOOS=darwin GOARCH=arm64

bin/ct-%-x86_64-unknown-linux-gnu: GOARGS = GOOS=linux GOARCH=amd64
bin/ct-%-x86_64-apple-darwin: GOARGS = GOOS=darwin GOARCH=amd64
Expand Down

0 comments on commit 366f8d6

Please sign in to comment.