From c466788b9efc6c35d8e181472a65b4a09c9efa7e Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Wed, 22 Nov 2023 17:20:16 -0500 Subject: [PATCH] Update gitignore and generated file cleanup --- .gitignore | 5 +++++ coverage.sh | 12 ++++++------ justfile | 4 +++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a21efaa..90897de 100644 --- a/.gitignore +++ b/.gitignore @@ -335,3 +335,8 @@ $RECYCLE.BIN/ # End of https://www.toptal.com/developers/gitignore/api/jetbrains+all,vim,node,deno,macos,windows,linux +## Misc generated files +scroll.err +deno.lock +cov_profile/ +coverage/ diff --git a/coverage.sh b/coverage.sh index 1412c6a..3aa6979 100755 --- a/coverage.sh +++ b/coverage.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -rm -fr /cov_profile/ -deno test --allow-all --coverage=cov_profile -deno coverage cov_profile --lcov > cov_profile/cov_profile.lcov -genhtml -o cov_profile cov_profile/cov_profile.lcov -rm cov_profile/*.json -open cov_profile/index.html +rm -fr /coverage/ +deno test --allow-all --coverage=coverage +deno coverage coverage --lcov > coverage/coverage.lcov +genhtml -o coverage coverage/coverage.lcov +rm coverage/*.json +open coverage/index.html diff --git a/justfile b/justfile index 594782c..81dfc5c 100644 --- a/justfile +++ b/justfile @@ -21,8 +21,10 @@ test: deno-test bun-test # Clean up any generated files clean: rm -rf .deno-cover - rm -rf cover + rm -rf coverage rm -rf docs + rm -f scroll.log + rm -f scroll.err ######################################################################################################################## # Bun-specific commands