display go version in make (#4003)

This commit is contained in:
fatedier 2024-02-19 17:46:47 +08:00 committed by GitHub
parent 2f958c2095
commit 4957fd23ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 24 additions and 21 deletions

View file

@ -2,10 +2,13 @@ export PATH := $(GOPATH)/bin:$(PATH)
export GO111MODULE=on
LDFLAGS := -s -w
all: fmt build
all: env fmt build
build: frps frpc
env:
@go version
# compile assets into binary file
file:
rm -rf ./assets/frps/static/*