diff options
| author | ruki <[email protected]> | 2020-02-06 00:01:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-07 22:45:57 +0800 |
| commit | d40841b322485ec4200a857979b2ea77677a906a (patch) | |
| tree | 9e11ff1f9f974c59cf3d0fccd9991f0918b93e4a /xmake/actions/require/impl/package.lua | |
| parent | a1e36f03bcae56c52c36ca1692725330cd173043 (diff) | |
add onext for async/runjobs
Diffstat (limited to 'xmake/actions/require/impl/package.lua')
| -rw-r--r-- | xmake/actions/require/impl/package.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua index 0f34a8839..6afb7b876 100644 --- a/xmake/actions/require/impl/package.lua +++ b/xmake/actions/require/impl/package.lua @@ -693,6 +693,11 @@ function _install_packages(packages_install, packages_download) end cprintf(" .. %s%s", tips and ("${dim}" .. tips .. "${clear} ") or "", waitchars[waitindex + 1]) io.flush() + end, exit = function(errors) + if errors then + utils.clearline() + io.flush() + end end}) end |
