fix: test makefiles

This commit is contained in:
Florian Schade
2025-01-22 16:24:36 +01:00
parent 991b641248
commit 4b1f49e169
2 changed files with 13 additions and 11 deletions
+5 -3
View File
@@ -1,6 +1,8 @@
.PHONY: build
GOOS := linux ## only linux is supported
GOARCH := $(shell go env GOARCH)
.PHONY: build
build:
env GOOS=linux GOARCH=$(GOARCH) go build -o bin/ocwrapper
GOOS=$(GOOS) \
GOARCH=$(GOARCH) \
go build -o bin/ocwrapper