1
Fork 0

Add some Deno documentation.

This commit is contained in:
Bauke 2023-01-27 16:07:29 +01:00
parent dba5f5b9dc
commit 61d7108e5d
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 7 additions and 0 deletions

7
.bauke/Deno.md Normal file
View File

@ -0,0 +1,7 @@
# Deno Scripts
## Why `bin/` + `scripts/`
Deno has [some issues](https://github.com/denoland/deno/issues/17195) with running files without a file extension (like what you'd want in `bin/`). So instead all the scripts are located in `scripts/` with proper file extensions and the `bin/` files call those scripts using `deno run`.
Though even if Deno didn't have these issues, having massive shebangs would also not be nice, so this setup is fine.