Skip to content

Commit

Permalink
chore: add darwin amd in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
nermalcat69 committed Oct 12, 2024
1 parent c7c5ae4 commit 842fc6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ possible values:
windows-amd
linux-amd
darwin-arm
darwin-amd
endef
export helpMessage

Expand All @@ -19,6 +20,7 @@ test:

lint:
GOOS=darwin GOARCH=arm64 gomodrun golangci-lint run ./cmd/... ./src/... --verbose
GOOS=darwin GOARCH=amd64 gomodrun golangci-lint run ./cmd/... ./src/... --verbose
GOOS=linux GOARCH=amd64 gomodrun golangci-lint run ./cmd/... ./src/... --verbose
GOOS=windows GOARCH=amd64 gomodrun golangci-lint run ./cmd/... ./src/... --verbose

Expand All @@ -30,3 +32,6 @@ linux-amd:

darwin-arm:
GOOS=darwin GOARCH=arm64 go build -o bin/zcli cmd/zcli/main.go

darwin-amd:
GOOS=darwin GOARCH=amd64 go build -o bin/zcli cmd/zcli/main.go

0 comments on commit 842fc6a

Please sign in to comment.