Skip to content

Commit

Permalink
feat: fix go work go version and build scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
  • Loading branch information
cubxxw committed Aug 30, 2023
1 parent 0ff8402 commit 9d42a2a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21.0
go 1.20.0

use (
.
Expand Down
3 changes: 0 additions & 3 deletions scripts/build-all-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${OPENIM_ROOT}/scripts/lib/init.sh"

# CPU core number
# Check the system type
system_type=$(uname)

pushd ""${OPENIM_ROOT}"/tools/ncpu" >/dev/null
cpu_count=$(go run .)
popd >/dev/null
Expand Down
2 changes: 1 addition & 1 deletion tools/versionchecker/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/OpenIMSDK/Open-IM-Server/tools/versionchecker

go 1.21.0
go 1.20.0

0 comments on commit 9d42a2a

Please sign in to comment.