Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Added a Windows compatiable Gruntfile. Build notes for Windows coming soon

IamTechknowc436e06526cc
diff --git a/Gruntfile.js b/Gruntfile.js
index 238a0a1f0..b70380c78 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -40,7 +40,15 @@ module.exports = function(grunt) {
// Copyright notice to place at the top of the minified JavaScript and
// CSS files
var banner = grunt.file.read("deploy/banner.txt");
-
+
+ //Platform specific command for find
+ var findCmd;
+ if(process.platform === 'win32')
+ findCmd = ";" //cygwin find doesn't really work in Windows compared to CentOS
+ //findCmd = "\"C:\\Program Files (x86)\\Git\\bin\\find\" build -type d -empty -exec rmdir {} ; ";
+ else
+ findCmd = "find build -type d -empty -delete";
+
grunt.initConfig({
pkg: pkg,
@@ -253,7 +261,7 @@ module.exports = function(grunt) {
// need in a release build, there are a lot of empty directories.
// Remove all of them.
empty: {
- command: "find build -type d -empty -delete"
+ command: findCmd
},
fetch: {