From 87bde6723e26fd72ce2dc6f92f443b7c57c63b63 Mon Sep 17 00:00:00 2001 From: Boris Cherny Date: Mon, 22 Dec 2014 12:30:32 -0800 Subject: [PATCH] add coverage --- .gitignore | 3 ++- Gruntfile.coffee | 6 ++++++ package.json | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 16f3c9d..52dfeb7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ Gruntfile.js _SpecRunner.html bower_components -node_modules \ No newline at end of file +node_modules +reports \ No newline at end of file diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 08eaa78..a7a4ea3 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -23,6 +23,12 @@ module.exports = (grunt) -> files: 'test/test.js': 'test/test.coffee' + coveralls: + options: + force: true + main: + src: 'reports/lcov/lcov.info' + jasmine: coverage: src: [ diff --git a/package.json b/package.json index bccf81d..fb1d7db 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,6 @@ "grunt-contrib-watch": "^0.6.1", "grunt-coveralls": "^1.0.0", "grunt-ngmin": "0.0.3", - "grunt-template-jasmine-istanbul": "^0.2.6" + "grunt-template-jasmine-istanbul": "^0.3.0" } }