diff options
| author | ruki <[email protected]> | 2023-09-18 22:43:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-18 22:43:28 +0800 |
| commit | 2b4b82c3f49e2eee9655de95a655f4c9bb79364c (patch) | |
| tree | bb35b502a3d1513e16420c6a38e2998a1816d0b4 | |
| parent | 54b9a96a527544c9256d5fe0b59400ae12b94748 (diff) | |
support remote install for xmake requires
| -rw-r--r-- | xmake/actions/require/main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/actions/require/main.lua b/xmake/actions/require/main.lua index a3ca99cfe..8e602463c 100644 --- a/xmake/actions/require/main.lua +++ b/xmake/actions/require/main.lua @@ -34,6 +34,7 @@ import("private.action.require.export") import("private.action.require.import", {alias = "import_packages"}) import("private.action.require.install") import("private.action.require.uninstall") +import("private.service.remote_build.action", {alias = "remote_build_action"}) -- -- the default repositories: @@ -70,6 +71,11 @@ end -- main function main() + -- do action for remote? + if remote_build_action.enabled() then + return remote_build_action() + end + -- load project first _load_project() |
