15 Star 69 Fork 15

He3DB / He3Proxy

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
Makefile 497 Bytes
Copy Edit Raw Blame History
裴庭伟 authored 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
1
https://gitee.com/he3db/he3proxy.git
git@gitee.com:he3db/he3proxy.git
he3db
he3proxy
He3Proxy
master

Search