mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-26 21:22:16 +08:00
feat: fix go work go version and build scripts
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
parent
5379603d0f
commit
8a226a78ae
@ -30,9 +30,6 @@ OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
|||||||
source "${OPENIM_ROOT}/scripts/lib/init.sh"
|
source "${OPENIM_ROOT}/scripts/lib/init.sh"
|
||||||
|
|
||||||
# CPU core number
|
# CPU core number
|
||||||
# Check the system type
|
|
||||||
system_type=$(uname)
|
|
||||||
|
|
||||||
pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null
|
pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null
|
||||||
cpu_count=$(go run .)
|
cpu_count=$(go run .)
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker
|
module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker
|
||||||
|
|
||||||
go 1.21.0
|
go 1.20.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user