diff options
author | evansiroky <evan.siroky@yahoo.com> | 2020-04-27 15:29:06 -0700 |
---|---|---|
committer | evansiroky <evan.siroky@yahoo.com> | 2020-04-27 15:29:06 -0700 |
commit | a48b392969258b5d85a2a4d76f83a959f475381d (patch) | |
tree | 6707c9102436d9567f016b100c47c035d3de63fb | |
parent | 14d42fc88fbcb8adf6e21cc5535e8bf4cf4cf3c7 (diff) | |
download | timezone-boundary-builder-a48b392969258b5d85a2a4d76f83a959f475381d.tar.gz |
Add step to zip up all of the input data
Fixes #78
-rw-r--r-- | index.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -666,6 +666,10 @@ const autoScript = { overallProgress.beginTask('Downloading osm boundaries') asynclib.eachSeries(Object.keys(osmBoundarySources), downloadOsmBoundary, cb) }], + zipInputData: ['makeDistDir', 'getOsmBoundaries', function (results, cb) { + overallProgress.beginTask('Zipping up input data') + exec('zip dist/input-data.zip downloads/* timezones.json osmBoundarySources.json expectedZoneOverlaps.json', cb) + }], createZones: ['makeDistDir', 'getOsmBoundaries', function (results, cb) { overallProgress.beginTask('Creating timezone boundaries') asynclib.each(Object.keys(zoneCfg), makeTimezoneBoundary, cb) |