Update gitignore and generated file cleanup

This commit is contained in:
Timothy Warren 2023-11-22 17:20:16 -05:00
parent ddb5eb783e
commit c466788b9e
3 changed files with 14 additions and 7 deletions

5
.gitignore vendored
View File

@ -335,3 +335,8 @@ $RECYCLE.BIN/
# End of https://www.toptal.com/developers/gitignore/api/jetbrains+all,vim,node,deno,macos,windows,linux # 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/

View File

@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -fr /cov_profile/ rm -fr /coverage/
deno test --allow-all --coverage=cov_profile deno test --allow-all --coverage=coverage
deno coverage cov_profile --lcov > cov_profile/cov_profile.lcov deno coverage coverage --lcov > coverage/coverage.lcov
genhtml -o cov_profile cov_profile/cov_profile.lcov genhtml -o coverage coverage/coverage.lcov
rm cov_profile/*.json rm coverage/*.json
open cov_profile/index.html open coverage/index.html

View File

@ -21,8 +21,10 @@ test: deno-test bun-test
# Clean up any generated files # Clean up any generated files
clean: clean:
rm -rf .deno-cover rm -rf .deno-cover
rm -rf cover rm -rf coverage
rm -rf docs rm -rf docs
rm -f scroll.log
rm -f scroll.err
######################################################################################################################## ########################################################################################################################
# Bun-specific commands # Bun-specific commands