diff options
| author | ruki <[email protected]> | 2020-02-05 22:33:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-07 22:45:56 +0800 |
| commit | 69a092643d7725dce1f6fbf7b90ddb3e6f15370e (patch) | |
| tree | d86f3b08dddc1ec5b0b1dea0f8d035b9f1459dfb /xmake/plugins | |
| parent | 35ffc50b1dc6abc88586ac1986607db16772c686 (diff) | |
uses runjobs instead of process.asyncrun
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/repo/main.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/repo/main.lua b/xmake/plugins/repo/main.lua index 91cd9f515..41f015451 100644 --- a/xmake/plugins/repo/main.lua +++ b/xmake/plugins/repo/main.lua @@ -25,6 +25,7 @@ import("core.project.project") import("core.platform.platform") import("core.package.repository") import("devel.git") +import("private.async.runjobs") import("actions.require.impl.environment", {rootdir = os.programdir()}) -- add repository url @@ -132,7 +133,7 @@ function _update() if option.get("verbose") then task() else - process.asyncrun(task) + runjobs("update repo", task, {showtips = true}) end -- leave environment |
