Skip to content

Commit

Permalink
data: allow running pipeline without wiping temp
Browse files Browse the repository at this point in the history
Data pipeline ran with separate versions use different folders, so it
makes sense to allow running multiple data pipelines without wiping in
between.

The default is still to wipe clean, so nobody will get caught by
surprise.
  • Loading branch information
ichernev committed Aug 25, 2022
1 parent 5bc88fc commit e551fde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ module.exports = function (grunt) {
grunt.registerTask('data', 'Build timezone data.', function (version) {
version = version || 'latest';

grunt.task.run('clean:data');
if (!grunt.option('dirty-run')) {
grunt.task.run('clean:data');
}

grunt.task.run([
'data-download:' + version,
Expand Down

0 comments on commit e551fde

Please sign in to comment.