From 25a08e1ddb0aa6ee49ade6125f801c50093b295e Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 9 Aug 2023 17:01:20 +0800 Subject: [PATCH] 1 --- .gitignore | 1 + server/imserver/makefile | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 155252c4..d5451627 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ __pycache__ .user node_modules/ nohup.out +bin/ \ No newline at end of file diff --git a/server/imserver/makefile b/server/imserver/makefile index a47001b1..291bc14c 100644 --- a/server/imserver/makefile +++ b/server/imserver/makefile @@ -1,19 +1,17 @@ compile: @. /etc/profile - protoc --proto_path=proto --go_out=./mt proto/mt.proto @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" debug: @. /etc/profile - protoc --proto_path=proto --go_out=./mt proto/mt.proto @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" clean: - @rm -f ../../bin/imserver + @rm -f ../../bin/imserver/ @echo "clean done"