Skip to content

Commit

Permalink
add new "build" grunt task. Add copy-docs to dist task
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Oct 10, 2019
1 parent f3ef86d commit f0dc7e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,11 +278,14 @@ module.exports = function (grunt) {
// Copy dist to docs
grunt.registerTask('copy-docs', ['clean:docs', 'copy:docs']);

// Build CSS & JS
grunt.registerTask('build', ['build-css', 'build-js']);

// Development watch
grunt.registerTask('dev-watch', ['build-css', 'build-js', 'watch']);
grunt.registerTask('dev-watch', ['build', 'watch']);

// Full distribution
grunt.registerTask('dist', ['build-css', 'build-js', 'compress']);
grunt.registerTask('dist', ['build', 'compress', 'copy-docs']);

// Default task.
grunt.registerTask('default', ['build-css', 'build-js']);
Expand Down

0 comments on commit f0dc7e5

Please sign in to comment.