From 9a296e97ba07fd8fbf3e998b0395fc36f6eafd2b Mon Sep 17 00:00:00 2001 From: juanarias8 Date: Tue, 10 Mar 2026 20:28:46 -0500 Subject: [PATCH] chore(makefile): add download-tun2socks dependency to test targets --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0b9b09b..a253e65 100644 --- a/Makefile +++ b/Makefile @@ -38,11 +38,11 @@ build-ci: download-tun2socks $(eval GIT_COMMIT := $(shell git rev-parse HEAD 2>/dev/null || echo "unknown")) $(GOBUILD) -ldflags "-s -w -X main.version=$(VERSION) -X main.buildTime=$(BUILD_TIME) -X main.gitCommit=$(GIT_COMMIT)" -o $(BINARY_NAME) -v ./cmd/greywall -test: +test: download-tun2socks @echo "Running tests..." $(GOTEST) -v ./... -test-ci: +test-ci: download-tun2socks @echo "CI: Running tests with coverage..." $(GOTEST) -v -race -coverprofile=coverage.out ./...