[auto task] sort & format

hmxc
小赖 4 years ago
parent 529ae2afbd
commit 43d3971561

@ -11,7 +11,7 @@ void format() {
}
@Task('自动提交修改')
@Depends(sort, format)
@Depends(sort, format, gitPush)
void git() {
log(' commit to git');
run(
@ -24,3 +24,12 @@ void git() {
],
);
}
@Task('推送代码')
void gitPush() {
log(' push to git');
run(
'git',
arguments: ['push'],
);
}

Loading…
Cancel
Save