1
This commit is contained in:
parent
78b0d7bf2d
commit
25a08e1ddb
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,3 +16,4 @@ __pycache__
|
|||||||
.user
|
.user
|
||||||
node_modules/
|
node_modules/
|
||||||
nohup.out
|
nohup.out
|
||||||
|
bin/
|
@ -1,19 +1,17 @@
|
|||||||
compile:
|
compile:
|
||||||
@. /etc/profile
|
@. /etc/profile
|
||||||
|
|
||||||
protoc --proto_path=proto --go_out=./mt proto/mt.proto
|
|
||||||
@export GOPROXY=https://goproxy.io
|
@export GOPROXY=https://goproxy.io
|
||||||
@go build -gcflags=all="-N -l" -o ../../bin/imserver
|
@go build -gcflags=all="-N -l" -o ../../bin/imserver/
|
||||||
@echo "compile done"
|
@echo "compile done"
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
@. /etc/profile
|
@. /etc/profile
|
||||||
|
|
||||||
protoc --proto_path=proto --go_out=./mt proto/mt.proto
|
|
||||||
@export GOPROXY=https://goproxy.io
|
@export GOPROXY=https://goproxy.io
|
||||||
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver
|
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/imserver/
|
||||||
@echo "compile done"
|
@echo "compile done"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f ../../bin/imserver
|
@rm -f ../../bin/imserver/
|
||||||
@echo "clean done"
|
@echo "clean done"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user