summaryrefslogtreecommitdiff
path: root/cli/tools/init/templates
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-08-29 15:58:56 -0400
committerGitHub <noreply@github.com>2023-08-29 19:58:56 +0000
commitf76bfbbe33c4e8e6ac8da9dccd29bd522d9b7e6f (patch)
treeaa0a0eab535d6d41cb75651980e26007e79e2109 /cli/tools/init/templates
parent64045ebc7a4e1c9f77204ffe35563134a453a7c6 (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.ts9
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);
-});