From 9eb5f5844e4134883a381a5b84254e4a0b10a85e Mon Sep 17 00:00:00 2001 From: sagiegurari Date: Tue, 31 May 2016 06:35:56 +0300 Subject: [PATCH] extending build --- README.md | 2 +- bower.json | 2 +- project/build/common.js | 2 ++ project/build/project.js | 9 +++++++++ project/build/top-level.js | 10 +++++++--- 5 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 project/build/project.js diff --git a/README.md b/README.md index 564092a..447ad06 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ See [contributing guide](.github/CONTRIBUTING.md) | Date | Version | Description | | ----------- | ------- | ----------- | -| 2016-05-28 | v0.0.72 | Maintenance | +| 2016-05-31 | v0.0.73 | Maintenance | | 2016-03-08 | v0.0.65 | Added webNotification.permissionGranted attribute | | 2016-02-24 | v0.0.64 | Maintenance | | 2015-09-26 | v0.0.31 | Update bower dependencies | diff --git a/bower.json b/bower.json index a2fd641..49677bb 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-web-notification", - "version": "0.0.72", + "version": "0.0.73", "description": "AngularJS service for displaying web notifications.", "authors": [ "Sagie Gur-Ari " diff --git a/project/build/common.js b/project/build/common.js index d2e6205..55f2f45 100644 --- a/project/build/common.js +++ b/project/build/common.js @@ -14,5 +14,7 @@ module.exports = function (grunt) { 'jsdoc2md:api' ]); + grunt.registerTask('empty', 'Empty Task', []); + return {}; }; diff --git a/project/build/project.js b/project/build/project.js new file mode 100644 index 0000000..2ba099a --- /dev/null +++ b/project/build/project.js @@ -0,0 +1,9 @@ +'use strict'; + +module.exports = function (grunt) { + grunt.registerTask('integration-test', 'Run integration tests', [ + 'empty' + ]); + + return {}; +}; diff --git a/project/build/top-level.js b/project/build/top-level.js index 70e0c64..4636384 100644 --- a/project/build/top-level.js +++ b/project/build/top-level.js @@ -5,17 +5,21 @@ module.exports = function (grunt) { 'cleanup' ]); - grunt.registerTask('coverage-ci', 'Test for continues integration.', [ + grunt.registerTask('coverage', 'Test for standalone builds.', [ 'coverage-prepare', 'karma:full', + 'integration-test' + ]); + + grunt.registerTask('coverage-ci', 'Test for continues integration.', [ + 'coverage', 'coveralls:full' ]); grunt.registerTask('build', 'Run all build steps.', [ 'lint', 'docs', - 'coverage-prepare', - 'karma:full' + 'coverage' ]); return {};