Files
vpngate/Makefile
renovate[bot] fb9c4800ae Update golangci/golangci-lint-action action to v9 (#161)
* Update golangci/golangci-lint-action action to v9

* Bump golangci-lint to 2.6.2

* Refactor to pass golangcli-lint

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dave Gallant <dave.gallant@gmail.com>
Co-authored-by: Dave Gallant <davegallant@proton.me>
2025-11-23 09:13:17 -05:00

16 lines
273 B
Makefile

BIN ?= dist/vpngate
export CGO_ENABLED := 0
build: ## Builds the binary
go build -o $(BIN)
.PHONY: build
test: ## Run unit tests
go test -v ./...
.PHONY: test
lint: ## Run lint
@go get github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.2
golangci-lint run