summaryrefslogtreecommitdiff
path: root/tests/specs/task/doc_comments_no_args/deno.jsonc
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-03-27 14:14:27 -0700
committerGitHub <noreply@github.com>2024-03-27 14:14:27 -0700
commit2dc37f411e8947d3c20cd93d1fa1937edc239499 (patch)
tree0ecb10fb3cc0e9085130c3683155529c5de74e84 /tests/specs/task/doc_comments_no_args/deno.jsonc
parent68fecc6de4b2e6556adeb2730798bf42017c4be6 (diff)
feat(task): Task description in the form of comments (#23101)
Closes #22786. TLDR; ```jsonc { "tasks": { // Some comment // // describing what the task does "dev": "deno run -A --watch main.ts" } } ``` ```bash deno task ``` ![Screenshot 2024-03-27 at 1 43 49 PM](https://github.com/denoland/deno/assets/17734409/7a14da8c-8e63-45ba-9bfb-590d250b56a9)
Diffstat (limited to 'tests/specs/task/doc_comments_no_args/deno.jsonc')
-rw-r--r--tests/specs/task/doc_comments_no_args/deno.jsonc12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/specs/task/doc_comments_no_args/deno.jsonc b/tests/specs/task/doc_comments_no_args/deno.jsonc
new file mode 100644
index 000000000..4b6d690c8
--- /dev/null
+++ b/tests/specs/task/doc_comments_no_args/deno.jsonc
@@ -0,0 +1,12 @@
+{
+ "tasks": {
+ // this task has documentation
+ //
+ // in the form of comments
+ "lint": "deno lint",
+ /*
+ * block comments are fine too
+ */
+ "fmt": "deno fmt"
+ }
+}