Skip to content

Commit

Permalink
Added explicit 'dist' grunt build
Browse files Browse the repository at this point in the history
  • Loading branch information
pimterry committed Jul 29, 2013
1 parent d42d00a commit 6652f4a
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 @@ -126,8 +126,8 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-open');
grunt.loadNpmTasks('grunt-saucelabs');

// Default task.
grunt.registerTask('default', ['jshint', 'jasmine', 'concat', 'uglify']);
// Build a distributable release
grunt.registerTask('dist', ['jshint', 'jasmine', 'concat', 'uglify']);

// Just tests
grunt.registerTask('test', ['jshint', 'jasmine']);
Expand All @@ -138,4 +138,7 @@ module.exports = function (grunt) {
// Test with lots of browsers on saucelabs
grunt.registerTask('saucelabs', ['jasmine:src:build', 'connect:test', 'saucelabs-jasmine']);

// Default task.
grunt.registerTask('default', 'dist');

};

0 comments on commit 6652f4a

Please sign in to comment.