From 8c8bd50a4a3d0a8a05ac75c8ead3ac8464144ce0 Mon Sep 17 00:00:00 2001 From: Marc Jansen Date: Thu, 2 Apr 2015 11:49:32 +0200 Subject: [PATCH] Add `test-coverage` target to build.py. As suggested by @tsauerwein. --- build.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.py b/build.py index fb1216ec85..7c5828f0cc 100755 --- a/build.py +++ b/build.py @@ -718,6 +718,11 @@ def test(t): t.run('node', 'tasks/test.js') +@target('test-coverage', NPM_INSTALL, phony=True) +def test_coverage(t): + t.run('node', 'tasks/test-coverage.js') + + @target('fixme', phony=True) def find_fixme(t): regex = re.compile('FIXME|TODO') @@ -794,6 +799,7 @@ Other less frequently used targets are: targets: lint, build, build-all, test, build-examples, check-examples and apidoc. This is the target run on Travis CI. + test-coverage - Generates a test coverage report in the coverage folder. reallyclean - Remove untracked files from the repository. checkdeps - Checks whether all required development software is installed on your machine.