This commit is contained in:
parent
106ef10c4a
commit
42d1f80105
3
Makefile
3
Makefile
@ -4,8 +4,7 @@ GOFILES = *.go
|
||||
# Multi-arch targets are generated from this
|
||||
TARGET_ALIAS = $(APP_NAME)-linux-amd64 $(APP_NAME)-linux-arm $(APP_NAME)-linux-arm64
|
||||
TARGETS = $(addprefix dist/,$(TARGET_ALIAS))
|
||||
.QUOTE = "
|
||||
CURRENT_GOARCH = $(shell go env | awk -F "=" '/GOARCH/ { gsub(/$(.QUOTE)/,"", $$2); print $$2}')
|
||||
CURRENT_GOARCH = $(shell go env GOARCH)
|
||||
|
||||
# Default make target will run tests
|
||||
.DEFAULT_GOAL = test
|
||||
|
Loading…
Reference in New Issue
Block a user