summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-26 23:54:51 +0800
committerruki <[email protected]>2025-12-26 23:54:51 +0800
commit111b483f2e907dce31d8abacc05cdb9334c125c6 (patch)
treed7889bb1a66dd62b8c19ba4a7dee4deb22bc43d3
parent5b41bf2f640dc4bba1e460d7d0b052f4a136a490 (diff)
add gitcode mirror
-rw-r--r--xmake/core/sandbox/modules/import/core/package/repository.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/core/package/repository.lua b/xmake/core/sandbox/modules/import/core/package/repository.lua
index 91c05982e..17ff95b4c 100644
--- a/xmake/core/sandbox/modules/import/core/package/repository.lua
+++ b/xmake/core/sandbox/modules/import/core/package/repository.lua
@@ -151,6 +151,7 @@ function sandbox_core_package_repository.repositories(is_global)
if not mainurls then
mainurls = {"https://github.com/xmake-io/xmake-repo.git",
"https://gitlab.com/tboox/xmake-repo.git",
+ "https://gitcode.com/xmake-io/xmake-repo.git",
"https://gitee.com/tboox/xmake-repo.git"}
if network ~= "private" then
import("net.fasturl")