Set CGO_ENABLED=0

This commit is contained in:
Dave Gallant
2023-02-05 09:19:48 -05:00
parent e4673199b9
commit 82b8e72d45
4 changed files with 25 additions and 13 deletions

View File

@@ -1,5 +1,7 @@
BIN ?= dist/vpngate
export CGO_ENABLED := 0
build: ## Builds the binary
go build -o $(BIN)
.PHONY: build
@@ -9,5 +11,5 @@ test: ## Run unit tests
.PHONY: test
lint: ## Run lint
@go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0
@go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.0
golangci-lint run