mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 22:49:15 +08:00
[improvement] build-lib when task fail (#4046)
This commit is contained in:
parent
c2badf6c44
commit
1acba9d9aa
@ -21,6 +21,10 @@ tasks.forEach(task => {
|
||||
|
||||
const interactive = new Signale({ interactive: true });
|
||||
interactive.pending(task);
|
||||
shell.exec(`${task} --silent`);
|
||||
const result = shell.exec(`${task} --silent`);
|
||||
if (result.code !== 0) {
|
||||
interactive.error(task);
|
||||
} else {
|
||||
interactive.success(task);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user