mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
fix: part of the make rules optimization
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
74313d54c2
commit
cce47bddd7
1
.github/workflows/image.yml
vendored
1
.github/workflows/image.yml
vendored
@ -18,6 +18,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- release-v*
|
||||
paths:
|
||||
- "**.go"
|
||||
- "!**_test.go"
|
||||
|
2
.github/workflows/project-progress.yml
vendored
2
.github/workflows/project-progress.yml
vendored
@ -33,4 +33,4 @@ jobs:
|
||||
with:
|
||||
project: OpenIM-V3.1
|
||||
column: In Progress
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
repo-token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
@ -4,8 +4,6 @@
|
||||
demo_server_name="openim_chat_api"
|
||||
demo_server_binary_root="$BIN_DIR/"
|
||||
|
||||
|
||||
|
||||
#Global configuration file default dir
|
||||
config_path="../.docker-compose_cfg/config.yaml"
|
||||
|
||||
@ -18,6 +16,7 @@ service_source_root=(
|
||||
../cmd/openim-rpc/admin/
|
||||
../cmd/openim-rpc/chat/
|
||||
)
|
||||
|
||||
#service filename
|
||||
service_names=(
|
||||
#api service filename
|
||||
|
@ -26,7 +26,7 @@ GO_LDFLAGS += -X $(VERSION_PACKAGE).gitVersion=$(GIT_TAG) \
|
||||
-s -w # -s -w deletes debugging information and symbol tables
|
||||
ifeq ($(DEBUG), 1)
|
||||
GO_BUILD_FLAGS += -gcflags "all=-N -l"
|
||||
GO_LDFLAGS=
|
||||
GO_LDFLAGS =
|
||||
endif
|
||||
|
||||
GO_BUILD_FLAGS += -ldflags "$(GO_LDFLAGS)"
|
||||
|
Loading…
x
Reference in New Issue
Block a user