Skip to content

Commit

Permalink
chore(scripts): update scripts and delete useless files (#512)
Browse files Browse the repository at this point in the history
Signed-off-by: wuhuizuo <wuhuizuo@126.com>

Signed-off-by: wuhuizuo <wuhuizuo@126.com>
  • Loading branch information
wuhuizuo authored Dec 20, 2024
1 parent 9b98efb commit bdea14a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 56 deletions.
7 changes: 4 additions & 3 deletions packages/scripts/gen-delivery-image-commands.ts
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { parse } from "https://deno.land/std@0.194.0/flags/mod.ts";
import * as yaml from "https://deno.land/std@0.214.0/yaml/mod.ts";
#!/usr/bin/env -S deno run --allow-read --allow-write
import * as yaml from "jsr:@std/yaml@1.0.5"
import { parseArgs } from "jsr:@std/cli@1.0.9"

interface Rule {
description?: string;
Expand Down Expand Up @@ -99,7 +100,7 @@ const {
image_url,
yaml_file = "./packages/delivery.yaml",
outfile = "./delivery-images.sh",
} = parse(Deno.args);
} = parseArgs(Deno.args);

// Example usage
await generateShellScript(image_url, yaml_file, outfile);
53 changes: 0 additions & 53 deletions packages/scripts/gen-delivery-images-with-config.sh

This file was deleted.

0 comments on commit bdea14a

Please sign in to comment.