mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
display go version in make (#4003)
This commit is contained in:
parent
2f958c2095
commit
4957fd23ee
2 changed files with 24 additions and 21 deletions
5
Makefile
5
Makefile
|
|
@ -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/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue