mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(doc_gen): add task to run doc-gen specs
This commit is contained in:
parent
00d890c07a
commit
71bc1b761d
2 changed files with 8 additions and 1 deletions
|
|
@ -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']);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,9 @@
|
|||
"shelljs": "0.1.2",
|
||||
"karma": "0.8.4",
|
||||
"yaml-js": "0.0.5",
|
||||
"showdown": "0.3.1"
|
||||
"showdown": "0.3.1",
|
||||
"rewire": "1.1.3",
|
||||
"grunt-contrib-jasmine-node": "~0.1.1"
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue