fix: test makefiles
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user