Interactive interface for browsing global, full-resolution satellite imagery
Remove opt flag from Gruntfile
Benjamin King9f6b6a10211b
diff --git a/Gruntfile.js b/Gruntfile.jsindex bd556ed1d..9f14fa7ed 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -43,9 +43,8 @@ module.exports = function(grunt) {var pkg = require('./package.json');var env = grunt.option('env') || 'release';- var hasCustomOptions = fs.existsSync('options') && fs.existsSync('options/package.json');+ var hasCustomOptions = fs.existsSync('options');var optionsPath = hasCustomOptions ? 'options' : 'node_modules/worldview-options-eosdis';- var options = hasCustomOptions ? grunt.file.readJSON('options/package.json') : grunt.file.readJSON('node_modules/worldview-options-eosdis/package.json');// Lists of JavaScript and CSS files to include and in the correct// order@@ -71,7 +70,6 @@ module.exports = function(grunt) {grunt.initConfig({pkg: pkg,- opt: options,optionsPath: optionsPath,apache_version: grunt.option('apache-version') || '22',@@ -241,7 +239,7 @@ module.exports = function(grunt) {files: [{src: 'dist/worldview-config.tar.bz2',- dest: 'dist/worldview-config' + '-<%=opt.version%>' + '-<%=opt.release%>' + '.git<%= grunt.config.get("config-revision") %>' + '.tar.bz2'+ dest: 'dist/worldview-config.git<%= grunt.config.get("config-revision") %>.tar.bz2'}]},