diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2023-08-29 15:58:56 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-29 19:58:56 +0000 |
| commit | f76bfbbe33c4e8e6ac8da9dccd29bd522d9b7e6f (patch) | |
| tree | aa0a0eab535d6d41cb75651980e26007e79e2109 /cli/tools/init/templates | |
| parent | 64045ebc7a4e1c9f77204ffe35563134a453a7c6 (diff) | |
refactor(init): simplify template (#20325)
- Don't include benchmark file - most people won't need this.
- Use deno.json instead of deno.jsonc, because it's a more common file
format.
Diffstat (limited to 'cli/tools/init/templates')
| -rw-r--r-- | cli/tools/init/templates/deno.json (renamed from cli/tools/init/templates/deno.jsonc) | 0 | ||||
| -rw-r--r-- | cli/tools/init/templates/main_bench.ts | 9 |
2 files changed, 0 insertions, 9 deletions
diff --git a/cli/tools/init/templates/deno.jsonc b/cli/tools/init/templates/deno.json index 3c5130f1d..3c5130f1d 100644 --- a/cli/tools/init/templates/deno.jsonc +++ b/cli/tools/init/templates/deno.json diff --git a/cli/tools/init/templates/main_bench.ts b/cli/tools/init/templates/main_bench.ts deleted file mode 100644 index 5867ca0a6..000000000 --- a/cli/tools/init/templates/main_bench.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { add } from "./main.ts"; - -Deno.bench(function addSmall() { - add(1, 2); -}); - -Deno.bench(function addBig() { - add(2 ** 32, 2 ** 32); -}); |
