This commit is contained in:
aozhiwei 2024-06-21 15:02:40 +08:00
parent a62220e3b9
commit 1c9744a74c
8 changed files with 4 additions and 4 deletions

View File

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

View File

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