mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 14:29:19 +08:00
fix: binary name modification
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
@@ -147,18 +147,18 @@ endef
|
||||
|
||||
# Here are some examples of builds
|
||||
define MAKEFILE_EXAMPLE
|
||||
# make build BINS=openim_api Only a single openim_api binary is built.
|
||||
# make build BINS=openim-api Only a single openim-api binary is built.
|
||||
# make -j (nproc) all Run tidy gen add-copyright format lint cover build concurrently.
|
||||
# make gen Generate all necessary files.
|
||||
# make release Build release binaries for all platforms.
|
||||
# make verify-copyright Verify the license headers for all files.
|
||||
# make install-deepcopy-gen Install deepcopy-gen tools if the license is missing.
|
||||
# make build BINS=openim_api V=1 DEBUG=1 Build debug binaries for only openim_api.
|
||||
# make build BINS=openim-api V=1 DEBUG=1 Build debug binaries for only openim-api.
|
||||
# make multiarch -j PLATFORMS="linux_arm64 linux_amd64" V=1 Build binaries for both platforms.
|
||||
endef
|
||||
export MAKEFILE_EXAMPLE
|
||||
|
||||
# Define all help functions @printf "\n\033[1mCurrent openim_api version information: $(shell openim_api version):\033[0m\n\n"
|
||||
# Define all help functions @printf "\n\033[1mCurrent openim-api version information: $(shell openim-api version):\033[0m\n\n"
|
||||
define makeallhelp
|
||||
@printf "\n\033[1mMake example:\033[0m\n\n"
|
||||
$(call MAKEFILE_EXAMPLE)
|
||||
|
||||
@@ -71,20 +71,20 @@ EXCLUDE_TESTS=github.com/OpenIMSDK/Open-IM-Server/test github.com/OpenIMSDK/Open
|
||||
# ❯ tree -L 1 cmd
|
||||
# cmd
|
||||
# ├── openim-sdk-core/ - main.go
|
||||
# ├── openim_api
|
||||
# ├── openim-api
|
||||
# ├── openim_cms_api
|
||||
# ├── openim_cron_task
|
||||
# ├── openim_demo
|
||||
# ├── openim_msg_gateway
|
||||
# ├── openim_msg_transfer
|
||||
# ├── openim_push
|
||||
# ├── openim-push
|
||||
# ├── rpc/openim_admin_cms/ - main.go
|
||||
# └── test/ - main.go
|
||||
# COMMAND=openim
|
||||
# PLATFORM=linux_amd64
|
||||
# OS=linux
|
||||
# ARCH=amd64
|
||||
# BINS=openim_api openim_cms_api openim_cron_task openim_demo openim_msg_gateway openim_msg_transfer openim_push
|
||||
# BINS=openim-api openim_cms_api openim_cron_task openim_demo openim_msg_gateway openim_msg_transfer openim-push
|
||||
# BIN_DIR=/root/workspaces/OpenIM/_output/bin
|
||||
# ==============================================================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user