1 Star 0 Fork 16

peitingwei/He3Proxy

forked from He3DB/He3Proxy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 497 Bytes
一键复制 编辑 原始数据 按行查看 历史
peitingwei 提交于 2022-08-31 15:15 . init commit based 0.6.0
export GO111MODULE=on
COMMIT_HASH=$(shell git rev-parse --short HEAD || echo "GitNotFound")
BUILD_DATE=$(shell date '+%Y-%m-%d %H:%M:%S')
all: build
build: he3proxy
goyacc:
go get -u golang.org/x/tools/cmd/goyacc
${GOPATH}/bin/goyacc -o ./sqlparser/sql.go ./sqlparser/sql.y
gofmt -w ./sqlparser/sql.go
he3proxy:
go build -ldflags "-X \"main.BuildVersion=${COMMIT_HASH}\" -X \"main.BuildDate=$(BUILD_DATE)\"" -o ./bin/he3proxy ./cmd/he3proxy
clean:
@rm -rf bin
test:
go test ./go/... -race
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peitingwei/he3proxy.git
[email protected]:peitingwei/he3proxy.git
peitingwei
he3proxy
He3Proxy
master

搜索帮助