Skip to content

Commit adf864f

Browse files
committed
Grunt prepare task: Clean tmp/jquery-ui manifests
Clean ./tmp/jquery-ui manifests on each iteration of the prepare task. Closes gh-193
1 parent 89ebde7 commit adf864f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gruntfile.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,12 @@ function prepare( callback ) {
271271
async.series([
272272
function( callback ) {
273273
grunt.log.writeln( "Building manifest for jQuery UI" );
274+
grunt.file.expand( "tmp/jquery-ui/*.jquery.json" ).forEach(function( file ) {
275+
grunt.file.delete( file );
276+
});
277+
callback();
278+
},
279+
function( callback ) {
274280
grunt.util.spawn({
275281
cmd: "grunt",
276282
args: [ "manifest" ],

0 commit comments

Comments
 (0)