aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorBrian Ford2013-07-03 11:10:23 -0700
committerIgor Minar2013-07-11 11:38:34 -0700
commit31631b2b2879f49b4458461b1ec1fb79d32dfb42 (patch)
tree1549169fcd9c0e2248959f8c555146a4f5edf4f1 /Gruntfile.js
parent03216760ec858f3257e4e009a40f7f9a62b41510 (diff)
downloadangular.js-31631b2b2879f49b4458461b1ec1fb79d32dfb42.tar.bz2
chore(build): add check for merge conflicts, ddescribe, and iit
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index be5b88a3..de0d6c72 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -8,6 +8,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-contrib-jasmine-node');
+ grunt.loadNpmTasks('grunt-ddescribe-iit');
+ grunt.loadNpmTasks('grunt-merge-conflict');
grunt.loadNpmTasks('grunt-shell');
grunt.loadNpmTasks('grunt-parallel');
grunt.loadTasks('lib/grunt');
@@ -194,6 +196,22 @@ module.exports = function(grunt) {
run: { spec: 'docs/spec' }
},
+ "ddescribe-iit": {
+ files: [
+ 'test/**/*.js',
+ '!test/ngScenario/DescribeSpec.js'
+ ]
+ },
+
+ "merge-conflict": {
+ files: [
+ 'src/**/*',
+ 'test/**/*',
+ 'docs/**/*',
+ 'css/**/*'
+ ]
+ },
+
copy: {
i18n: {
files: [
@@ -225,5 +243,6 @@ module.exports = function(grunt) {
grunt.registerTask('test:e2e', ['connect:testserver', 'test:end2end']);
grunt.registerTask('webserver', ['connect:devserver']);
grunt.registerTask('package', ['shell:bower','clean', 'buildall', 'minall', 'collect-errors', 'docs', 'copy', 'write', 'compress']);
+ grunt.registerTask('ci-checks', ['ddescribe-iit', 'merge-conflict']);
grunt.registerTask('default', ['package']);
};