Skip to content

Commit

Permalink
Fix OS and Architecture issue (#80)
Browse files Browse the repository at this point in the history
Co-authored-by: lawwong <lawwong@paypal.com>
  • Loading branch information
lawwong1 and lawwong authored Dec 19, 2024
1 parent 878098f commit 17df8f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ all: build

.PHONY: build
build:
GOOS=linux $(BUILDENVVAR) GOARCH=arm64 go build -o bin/load-watcher main.go
GOOS=linux $(BUILDENVVAR) GOARCH=amd64 go build -o bin/load-watcher main.go

.PHONY: build.amd64
build.amd64:
GOOS=darwin $(BUILDENVVAR) GOARCH=amd64 go build -o bin/load-watcher main.go
GOOS=linux$(BUILDENVVAR) GOARCH=amd64 go build -o bin/load-watcher main.go

.PHONY: build.arm64
build.arm64:
GOOS=linux $(BUILDENVVAR) GOARCH=arm64 go build -o bin/load-watcher main.go
GOOS=darwin $(BUILDENVVAR) GOARCH=arm64 go build -o bin/load-watcher main.go

.PHONY: clean
clean:
Expand Down

0 comments on commit 17df8f9

Please sign in to comment.