You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/usr/bin/env zx
|
|
|
|
import { $, echo } from "zx";
|
|
|
|
echo("开始执行代码质量评估...\n");
|
|
|
|
await import("./check").catch(() => {
|
|
throw new Error("代码质量评估失败, 请检查代码");
|
|
});
|
|
|
|
echo('printf "检测通过, 创建 commit 中...\n');
|
|
|
|
await $`git add .`;
|