Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ module.exports = function(grunt) {

grunt.registerTask('download-previous-version', require('./grunt/tasks/download-previous-version.js'));

grunt.registerTask('delete-build-modules', function() {
if (grunt.file.exists('build/modules')) {
grunt.file.delete('build/modules');
}
});

// Register jsx:debug and :release tasks.
grunt.registerMultiTask('jsx', jsxTask);

Expand Down Expand Up @@ -81,6 +87,7 @@ module.exports = function(grunt) {
'download-previous-version'
]);
grunt.registerTask('build:test', [
'delete-build-modules',
'jsx:test',
'version-check',
'populist:test'
Expand Down Expand Up @@ -176,6 +183,7 @@ module.exports = function(grunt) {
// Optimized build task that does all of our builds. The subtasks will be run
// in order so we can take advantage of that and only run jsx:debug once.
grunt.registerTask('build', [
'delete-build-modules',
'jsx:debug',
'version-check',
'browserify:basic',
Expand Down