Skip to content

Commit

Permalink
Merge pull request #40 from jcreamer898/master
Browse files Browse the repository at this point in the history
Add in docco task
  • Loading branch information
trevanhetzel committed Oct 3, 2014
2 parents 27e2e47 + eb883e5 commit 1ba5b61
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ module.exports = function (grunt) {
},
qunit: {
all: ['spec/**/*.html']
},


docco: {
src: ['js/barekit.js'],
options: {
output: 'docs/'
}
}
});

Expand All @@ -100,6 +108,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-autoprefixer');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-docco');

grunt.registerTask('js', [ 'concat', 'uglify' ]);
grunt.registerTask('test', [ 'js', 'qunit' ]);
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"gulp-stylus": "^1.0.2",
"gulp-uglify": "^0.3.1",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-qunit": "^0.5.2"
"grunt-contrib-qunit": "^0.5.2",
"grunt-docco": "^0.3.3"
}
}

0 comments on commit 1ba5b61

Please sign in to comment.