Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): unix darwin #490

Merged
merged 1 commit into from
Mar 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ tygo:
# build neva cli for all target platforms
.PHONY: build
build:
$(MAKE) build-mac-amd64
$(MAKE) build-mac-arm64
$(MAKE) build-darwin-amd64
$(MAKE) build-darwin-arm64
$(MAKE) build-linux-amd64
$(MAKE) build-linux-arm64
$(MAKE) build-windows-amd64
$(MAKE) build-windows-arm64

# build neva cli for amd64 mac
.PHONY: build-mac-amd64
build-mac-amd64:
@GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o neva-mac-amd64 ./cmd/cli
.PHONY: build-darwin-amd64
build-darwin-amd64:
@GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o neva-darwin-amd64 ./cmd/cli

# build neva cli for arm64 mac
.PHONY: build-mac-arm64
build-mac-arm64:
@GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o neva-mac-arm64 ./cmd/cli
.PHONY: build-darwin-arm64
build-darwin-arm64:
@GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o neva-darwin-arm64 ./cmd/cli

# build neva cli for amd64 linux
.PHONY: build-linux-amd64
Expand Down
Loading