diff --git a/deno.jsonc b/deno.jsonc index d20a800..10967c7 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -32,7 +32,8 @@ }, "tasks": { "test": "deno fmt --check && deno lint && deno test --allow-read --allow-net --allow-write --allow-run --allow-env src", - "coverage": "rm -rf .coverage && deno test --reporter=dot --allow-read --allow-net --allow-write --allow-run --allow-env --coverage=.coverage src && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage && deno run --allow-read https://deno.land/x/code_coverage@0.2.0/cli.ts" + "generate-lcov": "rm -rf .coverage && deno test --reporter=dot --allow-read --allow-net --allow-write --allow-run --allow-env --coverage=.coverage src && deno coverage --exclude=fixtures --exclude=test --lcov --output=lcov.info .coverage", + "test:coverage":"deno task generate-lcov && deno coverage --exclude=fixtures --exclude=test .coverage" }, "lock": false }