From c13e8d36991c69d96bd3da29a0159fff81601650 Mon Sep 17 00:00:00 2001 From: Enric Morales Date: Thu, 11 Jul 2024 00:02:46 +0200 Subject: [PATCH] gruntfile: Allow skipping cleaning of tmp --- Gruntfile.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index bf30275e2..d1ad37e37 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -726,7 +726,12 @@ module.exports = function (grunt) { //-- https://github.com/gruntjs/grunt-contrib-clean clean: { //-- Remove temporary folder - tmp: [".tmp", DIST_TMP], + tmp: { + src: [".tmp", DIST_TMP], + options: { + 'no-write': grunt.option('dont-clean-tmp') + } + }, //-- Remove folder with generated executable packages dist: [DIST],