@ -1,6 +1,10 @@
#!/usr/bin/env zx
import { echo, $ } from "zx";
$.verbose = true;
if (process.platform === "win32") {
$.prefix = "";
$.shell = "pwsh.exe";
}
echo("开始构建 production ...");
echo("当前所在的目录是:", process.cwd());
@ -3,6 +3,10 @@ import { $, echo } from "zx";
import type { ProcessOutput } from "zx";
import { printObject } from "./utils";
echo("开始执行代码质量评估...\n");
echo("开始构建 development ...");
import { $, echo } from "zx";
@ -2,6 +2,10 @@