diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-03-27 14:14:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 14:14:27 -0700 |
commit | 2dc37f411e8947d3c20cd93d1fa1937edc239499 (patch) | |
tree | 0ecb10fb3cc0e9085130c3683155529c5de74e84 /tests/specs/task/doc_comments_incorrect/task.out | |
parent | 68fecc6de4b2e6556adeb2730798bf42017c4be6 (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
```

Diffstat (limited to 'tests/specs/task/doc_comments_incorrect/task.out')
-rw-r--r-- | tests/specs/task/doc_comments_incorrect/task.out | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/specs/task/doc_comments_incorrect/task.out b/tests/specs/task/doc_comments_incorrect/task.out new file mode 100644 index 000000000..9d81c1768 --- /dev/null +++ b/tests/specs/task/doc_comments_incorrect/task.out @@ -0,0 +1,6 @@ +Task not found: doesntexist +Available tasks: +- lint + // some docs + // on what this does + deno lint |