- Updated golang.org/x/net dependency to fix linking error with syscall.recvmsg - Added -force flag to allow running the tool while connected to VPN - Fixed linter errors: replaced deprecated ioutil with io/os, added error handling - Added test, fmt, and lint targets to Makefile
17 lines
164 B
Makefile
17 lines
164 B
Makefile
default: build
|
|
|
|
build:
|
|
@go build -o bin/ ./...
|
|
|
|
run:
|
|
sudo go run ./cmd/mullvadclosest/*.go
|
|
|
|
test:
|
|
go test -v ./...
|
|
|
|
fmt:
|
|
go fmt ./...
|
|
|
|
lint:
|
|
golangci-lint run
|