Skip to content
Browse files

Added coverage target to Makefile

  • Loading branch information...
1 parent f93ef1b commit 0bdad257938f1683b8489e7f467d5fb308eb6e72 @davglass davglass committed
Showing with 10 additions and 2 deletions.
  1. +10 −2 Makefile
12 Makefile
@@ -15,8 +15,16 @@ lint:
docs: clean doc
-deploydocs: docs
+ npm test --coverage
+ mkdir ../shifter-pages/coverage/
+ cp -R ./coverage/lcov-report/* ../shifter-pages/coverage/
rm -rRf ../shifter-pages/*
+deploydocs: cleandeploy coverage docs
cp -R ./output/* ../shifter-pages/
-.PHONY: docs clean deploydocs lint
+.PHONY: docs clean deploydocs lint coverage

0 comments on commit 0bdad25

Please sign in to comment.
Something went wrong with that request. Please try again.