From 2158253f2eff6926c241014801f22407a353c145 Mon Sep 17 00:00:00 2001 From: ilia-medvedev-codefresh Date: Wed, 7 Sep 2022 12:33:30 +0300 Subject: [PATCH] disable vcs (#2) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d3f09bd0..0cc24c86 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,10 @@ vet: go vet ./... frps: - env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o bin/frps ./cmd/frps + env CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags "$(LDFLAGS)" -o bin/frps ./cmd/frps frpc: - env CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o bin/frpc ./cmd/frpc + env CGO_ENABLED=0 go build -buildvcs=false -trimpath -ldflags "$(LDFLAGS)" -o bin/frpc ./cmd/frpc test: gotest