From a484112725404ec09de71c513baaa6deafd96528 Mon Sep 17 00:00:00 2001 From: Shailendher Date: Wed, 15 Mar 2017 14:37:31 +0100 Subject: [PATCH] fix to support windows build currently building the application in windows is not possible due to usage of restricted file names ('nul'). This fix is to overcome that limitation. --- Gruntfile-world.js | 4 ++-- src/js/data/{nul.json => _nul.json} | 0 src/js/data/{nul.topo.json => _nul.topo.json} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/js/data/{nul.json => _nul.json} (100%) rename src/js/data/{nul.topo.json => _nul.topo.json} (100%) diff --git a/Gruntfile-world.js b/Gruntfile-world.js index 6ca968d6..a9b1fe40 100644 --- a/Gruntfile-world.js +++ b/Gruntfile-world.js @@ -1392,7 +1392,7 @@ module.exports = function(grunt) { dest: 'src/rel/datamaps.nul.js', replacements: [{ from: '\'__NUL__\'', - to: '<%= grunt.file.read("src/js/data/nul.topo.json") %>' + to: '<%= grunt.file.read("src/js/data/_nul.topo.json") %>' }] }, nzl: { @@ -2744,7 +2744,7 @@ module.exports = function(grunt) { }, { from: '\'__NUL__\'', - to: '<%= grunt.file.read("src/js/data/nul.topo.json") %>' + to: '<%= grunt.file.read("src/js/data/_nul.topo.json") %>' }, { from: '\'__NZL__\'', diff --git a/src/js/data/nul.json b/src/js/data/_nul.json similarity index 100% rename from src/js/data/nul.json rename to src/js/data/_nul.json diff --git a/src/js/data/nul.topo.json b/src/js/data/_nul.topo.json similarity index 100% rename from src/js/data/nul.topo.json rename to src/js/data/_nul.topo.json