Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added coverage target to Makefile

  • Loading branch information...
commit 0bdad257938f1683b8489e7f467d5fb308eb6e72 1 parent f93ef1b
Dav Glass davglass authored
Showing with 10 additions and 2 deletions.
  1. +10 −2 Makefile
12 Makefile
View
@@ -15,8 +15,16 @@ lint:
docs: clean doc
-deploydocs: docs
+
+coverage:
+ npm test --coverage
+ mkdir ../shifter-pages/coverage/
+ cp -R ./coverage/lcov-report/* ../shifter-pages/coverage/
+
+cleandeploy:
rm -rRf ../shifter-pages/*
+
+deploydocs: cleandeploy coverage docs
cp -R ./output/* ../shifter-pages/
-.PHONY: docs clean deploydocs lint
+.PHONY: docs clean deploydocs lint coverage
Please sign in to comment.
Something went wrong with that request. Please try again.