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": 5021,
|
"script_length": 4976,
|
||||||
"script_sha256": "0360ac3b4be39b9a9d1c41504dda460606603513320832689aba36fa726e3bbf",
|
"script_sha256": "8e96cf0c656c76ff520ca49e1f58d15bbcf6797f574f5a6a962f56a133d0f887",
|
||||||
"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": 1770569970701
|
"update_time": 1770570061346
|
||||||
},
|
},
|
||||||
"cal-bun.ts": {
|
"cal-bun.ts": {
|
||||||
"script_name": "cal-bun.ts",
|
"script_name": "cal-bun.ts",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env runts -- --allow-all
|
#!/usr/bin/env runts -- --allow-all
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
execCommandAndStdout,
|
||||||
execCommandShell,
|
execCommandShell,
|
||||||
existsPath,
|
existsPath,
|
||||||
log,
|
log,
|
||||||
@@ -11,7 +12,6 @@ import {
|
|||||||
} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
} from "https://script.hatter.ink/@35/deno-commons-mod.ts";
|
||||||
import {parseArgs} from "jsr:@std/cli/parse-args";
|
import {parseArgs} from "jsr:@std/cli/parse-args";
|
||||||
import {readFileToString} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts";
|
import {readFileToString} from "https://global.hatter.ink/script/get/@1/deno-commons-1.6.0-mod.ts";
|
||||||
import {execCommandAndStdout} from "../libraries/deno-commons-mod.ts";
|
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const flags = parseArgs(Deno.args, {
|
const flags = parseArgs(Deno.args, {
|
||||||
@@ -164,5 +164,5 @@ async function buildFile(file: string, flags: any) {
|
|||||||
|
|
||||||
await main();
|
await main();
|
||||||
|
|
||||||
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260209T005851+08:00.MEQCIDd33gREmm1CEKO83ZBC
|
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260209T010054+08:00.MEYCIQD6vk5cA8zttDLbs4Le
|
||||||
// B3iYNDB5hcaPuiUyH5TGR7VBAiBsxkw+GcD0fPpxTj2Yi43VFx/6YAT8L5HA7p9VEZwxdA==
|
// V4Yd9z5bjTaQzw3TikZibSEI0gIhAJyPmDv0b5Vh0fFPxh3SMj3F3MWtb/23Frq31pqfOtCB
|
||||||
|
|||||||
Reference in New Issue
Block a user