mirror of
https://github.com/davegallant/vpngate.git
synced 2025-08-06 00:33:40 +00:00
Set CGO_ENABLED=0
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user