Skip to content

Commit

Permalink
Merge pull request #761 from kiike/pr/clean_collection_after_unzipping
Browse files Browse the repository at this point in the history
gruntfile: clean collection after unzipping
  • Loading branch information
cavearr authored Jul 10, 2024
2 parents 43f3f0a + f599b35 commit 327ad0d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,10 @@ 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
"clean:collection", //-- Remove previously installed collection
"wget:collection", //-- Download the collection
"unzip" //-- Unzip the collection (install it)
"unzip", //-- Unzip the collection (install it)
"clean:collectionFile" //-- Remove cached collection file
]);

//-- grunt server
Expand Down Expand Up @@ -733,7 +734,11 @@ module.exports = function (grunt) {

//-- Remove the default collection (which is installed when
//-- npm install is executed initially
collection: [DEFAULT_COLLECTION_FOLDER, CACHE_DEFAULT_COLLECTION_FILE],
collection: [DEFAULT_COLLECTION_FOLDER],

//-- Remove the downloaded collection file
//-- that is fetched with wget:collection
collectionFile: [CACHE_DEFAULT_COLLECTION_FILE],
},

//-- Get the English texts from the .js and .html files
Expand Down

0 comments on commit 327ad0d

Please sign in to comment.