From 2d7ea27750a2973d33f3305c52bb5a5297e3362f Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 8 Feb 2026 23:33:17 +0800 Subject: [PATCH] update build.ts --- script-meta-v2.json | 6 +++--- single-scripts/build.ts | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/script-meta-v2.json b/script-meta-v2.json index 49b9811..afa893a 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -18,12 +18,12 @@ }, "build.ts": { "script_name": "build.ts", - "script_length": 4535, - "script_sha256": "0eee82d860bb47fa06f0e6751e656fd4237e6de609067a3471b992f07499d76b", + "script_length": 4591, + "script_sha256": "fb53a891e4b6d7dc84dd251f3c5b005d90a6bba91828856d9529cc368f3d5660", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/build.ts", "single_script_file": true, "publish_time": 1770564482429, - "update_time": 1770564548321 + "update_time": 1770564793315 }, "cal-bun.ts": { "script_name": "cal-bun.ts", diff --git a/single-scripts/build.ts b/single-scripts/build.ts index fbc2ccb..70ac1c9 100755 --- a/single-scripts/build.ts +++ b/single-scripts/build.ts @@ -21,6 +21,7 @@ async function main() { "force", ], alias: { + h: "help", S: "skip-sign", M: "no-min", F: "force", @@ -30,7 +31,7 @@ async function main() { if (flags.help) { console.log(term.auto(`Usage: [blue][bold]build.ts[//] --help -[blue][bold]build.ts[//] [--no-min] FILES`)); +[blue][bold]build.ts[//] [-M|--no-min] [-S|--skip-sign] [-F|--force] FILES`)); return; } @@ -150,5 +151,5 @@ async function buildFile(file: string, flags: any) { await main(); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T232903+08:00.MEUCIGntBchf8JaCo8Tjt9FP -// 00nEmxGx5ixwSUkuVVMeiRFwAiEAkdvG0TAOpVecHm8+KWiZiE1z84M6RHfA4LSo110hb3w= +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T233252+08:00.MEUCIBDG/ENx5vAqlNOXA0j9 +// j8lVm77bTAIYJGQTB0WRz4VSAiEAjGRY1+99Y1srS8ohxkJ5GFhX7skwAIZTnhlBjXlVRd4=