Skip to content

Commit

Permalink
fix(build): unix darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
emil14 committed Mar 3, 2024
1 parent 1b58ef5 commit 591a24b
Showing 1 changed file with 8 additions and 8 deletions.
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

0 comments on commit 591a24b

Please sign in to comment.