update build.ts
This commit is contained in:
@@ -18,12 +18,12 @@
|
|||||||
},
|
},
|
||||||
"build.ts": {
|
"build.ts": {
|
||||||
"script_name": "build.ts",
|
"script_name": "build.ts",
|
||||||
"script_length": 4535,
|
"script_length": 4591,
|
||||||
"script_sha256": "0eee82d860bb47fa06f0e6751e656fd4237e6de609067a3471b992f07499d76b",
|
"script_sha256": "fb53a891e4b6d7dc84dd251f3c5b005d90a6bba91828856d9529cc368f3d5660",
|
||||||
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/build.ts",
|
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/build.ts",
|
||||||
"single_script_file": true,
|
"single_script_file": true,
|
||||||
"publish_time": 1770564482429,
|
"publish_time": 1770564482429,
|
||||||
"update_time": 1770564548321
|
"update_time": 1770564793315
|
||||||
},
|
},
|
||||||
"cal-bun.ts": {
|
"cal-bun.ts": {
|
||||||
"script_name": "cal-bun.ts",
|
"script_name": "cal-bun.ts",
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ async function main() {
|
|||||||
"force",
|
"force",
|
||||||
],
|
],
|
||||||
alias: {
|
alias: {
|
||||||
|
h: "help",
|
||||||
S: "skip-sign",
|
S: "skip-sign",
|
||||||
M: "no-min",
|
M: "no-min",
|
||||||
F: "force",
|
F: "force",
|
||||||
@@ -30,7 +31,7 @@ async function main() {
|
|||||||
if (flags.help) {
|
if (flags.help) {
|
||||||
console.log(term.auto(`Usage:
|
console.log(term.auto(`Usage:
|
||||||
[blue][bold]build.ts[//] --help
|
[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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -150,5 +151,5 @@ async function buildFile(file: string, flags: any) {
|
|||||||
|
|
||||||
await main();
|
await main();
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T232903+08:00.MEUCIGntBchf8JaCo8Tjt9FP
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T233252+08:00.MEUCIBDG/ENx5vAqlNOXA0j9
|
||||||
// 00nEmxGx5ixwSUkuVVMeiRFwAiEAkdvG0TAOpVecHm8+KWiZiE1z84M6RHfA4LSo110hb3w=
|
// j8lVm77bTAIYJGQTB0WRz4VSAiEAjGRY1+99Y1srS8ohxkJ5GFhX7skwAIZTnhlBjXlVRd4=
|
||||||
|
|||||||
Reference in New Issue
Block a user