update build.ts

This commit is contained in:
2026-02-08 23:29:13 +08:00
parent 2d735d9103
commit 94f64e45be
2 changed files with 14 additions and 7 deletions

View File

@@ -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=