Skip to content

Commit

Permalink
gruntfile: clean collection after unzipping
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Merino <[email protected]>
Co-authored-by: Enric Morales <[email protected]>
Co-authored-by: Roland Coeurjoly <[email protected]>

If we run the `clean:collection` task after unzipping, we allow
downloading the file manually into the cache directory so that the unzip
task doesn't try downloading it again.
  • Loading branch information
kiike committed Jul 10, 2024
1 parent 14d4d8d commit 62b0a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,9 @@ module.exports = function (grunt) {
//-- This task is called in the npm postinstallation
//-- (after npm install is executed)
grunt.registerTask("getcollection", [
"clean:collection", //-- Remove previous collection downloaded
"wget:collection", //-- Download the collection
"unzip" //-- Unzip the collection (install it)
"unzip", //-- Unzip the collection (install it)
"clean:collection" //-- Remove previously downloaded collection
]);

//-- grunt server
Expand Down

0 comments on commit 62b0a63

Please sign in to comment.