1
This commit is contained in:
parent
77f295ee65
commit
af9b9e6f4f
@ -1,4 +1,4 @@
|
||||
module adminsever
|
||||
module gameservice
|
||||
|
||||
go 1.20
|
||||
|
||||
|
@ -2,16 +2,16 @@ compile:
|
||||
@. /etc/profile
|
||||
|
||||
@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"
|
||||
|
||||
debug:
|
||||
@. /etc/profile
|
||||
|
||||
@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"
|
||||
|
||||
clean:
|
||||
@rm -f ../../bin/adminserver/bin
|
||||
@rm -f ../../bin/gameservice/bin
|
||||
@echo "clean done"
|
||||
|
Loading…
x
Reference in New Issue
Block a user