summaryrefslogtreecommitdiff
path: root/xmake/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-03 21:44:57 +0800
committerGitHub <[email protected]>2026-03-03 21:44:57 +0800
commite0e20ef6ddbd0fc62fbaa00d195ce95f22a86fdf (patch)
treedb8c4c3ae760f4e75a73a6451b15ccea9400eb46 /xmake/modules
parent83dcecd2bde90ca5a78fd263ba0f79401c5c223c (diff)
parent193e80cbad47912de959fe34b3e66614bfacd5e2 (diff)
Merge pull request #7367 from xmake-io/create
add xmake create --list and remote template distribution
Diffstat (limited to 'xmake/modules')
-rw-r--r--xmake/modules/private/action/require/impl/repository.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/private/action/require/impl/repository.lua b/xmake/modules/private/action/require/impl/repository.lua
index ba0c9205f..3df59c42c 100644
--- a/xmake/modules/private/action/require/impl/repository.lua
+++ b/xmake/modules/private/action/require/impl/repository.lua
@@ -117,7 +117,7 @@ function repositories()
return _g._REPOSITORIES
end
-- get all repositories (local first)
- local repos = table.join(repository.repositories(false), repository.repositories(true))
+ local repos = table.join(repository.repositories({global = false}), repository.repositories({global = true}))
_g._REPOSITORIES = repos
return repos
end
@@ -220,4 +220,3 @@ function artifacts_manifest(packagename, version)
end
end
end
-