Update gitignore and generated file cleanup
This commit is contained in:
parent
ddb5eb783e
commit
c466788b9e
5
.gitignore
vendored
5
.gitignore
vendored
@ -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/
|
||||
|
12
coverage.sh
12
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
|
||||
|
||||
|
||||
|
4
justfile
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user