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/actions/update/main.lua | |
| parent | 35ffc50b1dc6abc88586ac1986607db16772c686 (diff) | |
uses runjobs instead of process.asyncrun
Diffstat (limited to 'xmake/actions/update/main.lua')
| -rw-r--r-- | xmake/actions/update/main.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/actions/update/main.lua b/xmake/actions/update/main.lua index 037ea7e5d..a0aa4bd4a 100644 --- a/xmake/actions/update/main.lua +++ b/xmake/actions/update/main.lua @@ -28,6 +28,7 @@ import("devel.git.submodule") import("net.fasturl") import("core.base.privilege") import("privilege.sudo") +import("private.async.runjobs") import("actions.require.impl.environment", {rootdir = os.programdir()}) import("private.action.update.fetch_version") @@ -194,7 +195,7 @@ function _install(sourcedir) if option.get("verbose") then install_task() else - process.asyncrun(install_task) + runjobs("update/install", install_task, {showtips = true}) end -- show version @@ -376,7 +377,7 @@ function main() if option.get("verbose") then download_task() else - process.asyncrun(download_task) + runjobs("update/download", download_task, {showtips = true}) end -- leave environment |
