From 94f64e45be67993133b9c8fdb65867e33129e090 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Sun, 8 Feb 2026 23:29:13 +0800 Subject: [PATCH] update build.ts --- script-meta-v2.json | 6 +++--- single-scripts/build.ts | 15 +++++++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/script-meta-v2.json b/script-meta-v2.json index ce0e843..49b9811 100644 --- a/script-meta-v2.json +++ b/script-meta-v2.json @@ -18,12 +18,12 @@ }, "build.ts": { "script_name": "build.ts", - "script_length": 4555, - "script_sha256": "b70337218e8e164ba58c47ede81fdd9015ae81dd7c2658214720cf3e6fd27794", + "script_length": 4535, + "script_sha256": "0eee82d860bb47fa06f0e6751e656fd4237e6de609067a3471b992f07499d76b", "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": 1770564482429 + "update_time": 1770564548321 }, "cal-bun.ts": { "script_name": "cal-bun.ts", diff --git a/single-scripts/build.ts b/single-scripts/build.ts index 73c8ca4..fbc2ccb 100755 --- a/single-scripts/build.ts +++ b/single-scripts/build.ts @@ -1,8 +1,15 @@ #!/usr/bin/env runts -- --allow-all -import {execCommandShell, log, term, uint8ArrayToHexString,} from "https://script.hatter.ink/@35/deno-commons-mod.ts"; +import { + execCommandShell, + existsPath, + log, + stringifyPretty, + term, + uint8ArrayToHexString, + writeStringToFile, +} from "https://script.hatter.ink/@35/deno-commons-mod.ts"; import {parseArgs} from "jsr:@std/cli/parse-args"; -import {existsPath, stringifyPretty, writeStringToFile,} from "../libraries/deno-commons-mod.ts"; import {readFileToString} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts"; async function main() { @@ -143,5 +150,5 @@ async function buildFile(file: string, flags: any) { await main(); -// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T232753+08:00.MEQCIDKxUBkD92GrszyWM6gC -// jCNOVqcEMUdDKgs6TJlFhRbXAiBzlvmlHCXGFZBCcjjKBjmXDYqdbnfTp6D1wlSFyhK/sA== +// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T232903+08:00.MEUCIGntBchf8JaCo8Tjt9FP +// 00nEmxGx5ixwSUkuVVMeiRFwAiEAkdvG0TAOpVecHm8+KWiZiE1z84M6RHfA4LSo110hb3w=