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 <amerinor01@gmail.com>
Co-authored-by: Enric Morales <me@enric.me>
Co-authored-by: Roland Coeurjoly <rolandcoeurjoly@gmail.com>

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 bb14870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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)
"clean:collection", //-- Remove previously downloaded collection
]);

//-- grunt server
Expand Down

0 comments on commit bb14870

Please sign in to comment.