Skip to content

Commit

Permalink
[Process]: Adding makefile (#28)
Browse files Browse the repository at this point in the history
- Added branch-clean script in make file.
- Added coverage.
  • Loading branch information
onemanfighter committed May 7, 2024
1 parent e18bec4 commit f356fd2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: coverage
coverage:
echo "Running coverage tests"
yarn test -- --coverage --watchAll=false
open -a Firefox http://localhost:3000
serve -s coverage/lcov-report

.PHONY: branch-clean
branch-clean:
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D

0 comments on commit f356fd2

Please sign in to comment.