feat: fix go work go version and build scripts

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
This commit is contained in:
Xinwei Xiong(cubxxw-openim) 2023-08-25 11:50:27 +08:00
parent 5379603d0f
commit 8a226a78ae
No known key found for this signature in database
GPG Key ID: 1BAD6F395338EFDE
3 changed files with 2 additions and 5 deletions

View File

@ -1,4 +1,4 @@
go 1.21.0 go 1.20.0
use ( use (
. .

View File

@ -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

View File

@ -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