aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorPete Bacon Darwin2013-06-23 22:27:18 +0100
committerPete Bacon Darwin2013-06-25 21:17:09 +0100
commit71bc1b761d9721805caab9479287b34169c0121e (patch)
treef27467b0cdd2ce23974333ab5f59119df57eb712 /Gruntfile.js
parent00d890c07abe538fb414b7eba496f924c3526fe0 (diff)
downloadangular.js-71bc1b761d9721805caab9479287b34169c0121e.tar.bz2
chore(doc_gen): add task to run doc-gen specs
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index bc95145d..1d5f3542 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -7,6 +7,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-compress');
+ grunt.loadNpmTasks('grunt-contrib-jasmine-node');
grunt.loadNpmTasks('grunt-shell');
grunt.loadTasks('lib/grunt');
@@ -156,6 +157,9 @@ module.exports = function(grunt) {
process: ['build/docs/*.html', 'build/docs/.htaccess']
},
+ "jasmine-node": {
+ run: { spec: 'docs/spec' }
+ },
copy: {
i18n: {
@@ -183,6 +187,7 @@ module.exports = function(grunt) {
//alias tasks
grunt.registerTask('test:unit', ['test:jqlite', 'test:jquery', 'test:modules']);
+ grunt.registerTask('test:docgen', ['jasmine-node']);
grunt.registerTask('minify', ['shell:bower','clean', 'build', 'minall']);
grunt.registerTask('test:e2e', ['connect:testserver', 'test:end2end']);
grunt.registerTask('webserver', ['connect:devserver']);