This commit is contained in:
2026-02-08 22:29:01 +08:00
parent dd2060b9bb
commit d316cddb48
3 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View File

@@ -6,6 +6,7 @@
.AppleDouble .AppleDouble
.LSOverride .LSOverride
*.bundle.ts *.bundle.ts
bundles/*.bundle.ts
# Icon must end with two \r # Icon must end with two \r
Icon Icon

10
bundles/hello_world.ts Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env runts -- --allow-import
import {log} from "../libraries/deno-commons-mod.ts";
// deno bundle --allow-import hello_world.ts -o helloworld-bundle-2.bundle.ts
async function main() {
log.info("Hello World!");
}
main().catch(console.error);

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env runts -- --allow-import
import {log} from "https://global.hatter.ink/script/get/@25/deno-commons-mod.ts";
// deno bundle --allow-import helloworld-bundle.ts -o helloworld-bundle.bundle.ts
async function main() {
log.info("Hello World!");
}
main().catch(console.error);