From bb14870bd5c2243afe224bc1b20f4e08a48d83dc Mon Sep 17 00:00:00 2001 From: Enric Morales Date: Wed, 10 Jul 2024 22:07:46 +0200 Subject: [PATCH] gruntfile: clean collection after unzipping Co-authored-by: Alberto Merino Co-authored-by: Enric Morales Co-authored-by: Roland Coeurjoly 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. --- Gruntfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index bf30275e2..7360c76e0 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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