updates
This commit is contained in:
@@ -1,14 +1,7 @@
|
|||||||
#!/usr/bin/env runts -- --allow-all
|
#!/usr/bin/env runts -- --allow-all
|
||||||
|
|
||||||
import {
|
import {args, existsPath, log, makeDirectory, term, writeStringToFile,} from "../libraries/deno-commons-mod.ts";
|
||||||
args,
|
import {parseArgs} from "jsr:@std/cli/parse-args";
|
||||||
existsPath,
|
|
||||||
log,
|
|
||||||
makeDirectory,
|
|
||||||
term,
|
|
||||||
writeStringToFile,
|
|
||||||
} from "../libraries/deno-commons-mod.ts";
|
|
||||||
import { parseArgs } from "jsr:@std/cli/parse-args";
|
|
||||||
|
|
||||||
const DOT_GIT_IGNORE = ".gitignore";
|
const DOT_GIT_IGNORE = ".gitignore";
|
||||||
|
|
||||||
@@ -131,8 +124,7 @@ async function main() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (flags.jdk == "8" || flags.jdk == "1.8") {
|
if (flags.jdk == "8" || flags.jdk == "1.8") {
|
||||||
const buildFiles = BUILD_FILES_MAP["8"];
|
await handleJdk(BUILD_FILES_MAP["8"], flags);
|
||||||
await handleJdk(buildFiles, flags);
|
|
||||||
} else {
|
} else {
|
||||||
throw new Error(`Invalid JDK: ${flags.jdk ?? "not-assigned"}`);
|
throw new Error(`Invalid JDK: ${flags.jdk ?? "not-assigned"}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user