This commit is contained in:
aozhiwei 2023-12-11 15:52:36 +08:00
parent 77f295ee65
commit af9b9e6f4f
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
module adminsever module gameservice
go 1.20 go 1.20

View File

@ -2,16 +2,16 @@ compile:
@. /etc/profile @. /etc/profile
@export GOPROXY=https://goproxy.io @export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -o ../../bin/adminserver/bin @go build -gcflags=all="-N -l" -o ../../bin/gameservice/bin
@echo "compile done" @echo "compile done"
debug: debug:
@. /etc/profile @. /etc/profile
@export GOPROXY=https://goproxy.io @export GOPROXY=https://goproxy.io
@go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/adminserver/bin @go build -gcflags=all="-N -l" -ldflags "-X q5.optDebug=1" -o ../../bin/gameservice/bin
@echo "compile done" @echo "compile done"
clean: clean:
@rm -f ../../bin/adminserver/bin @rm -f ../../bin/gameservice/bin
@echo "clean done" @echo "clean done"