Interactive interface for browsing global, full-resolution satellite imagery
change to --env, default to worldview
Mike McGann31542b0e3625
diff --git a/Gruntfile.js b/Gruntfile.jsindex c8fd057f0..5c18c349c 100644--- a/Gruntfile.js+++ b/Gruntfile.js@@ -283,7 +283,7 @@ module.exports = function(grunt) {brand.officialName = brand.officialName || brand.name;brand.longName = brand.longName || brand.name;brand.shortName = brand.shortName || brand.name;- brand.packageName = grunt.option('package-name') || brand.packageName;+ brand.packageName = grunt.option('package-name') || brand.packageName || 'worldview';brand.email = brand.email || '[email protected]';grunt.option('officialName', brand.officialName);diff --git a/tasks/upload.js b/tasks/upload.jsindex 0925a5f1d..a500ed991 100755--- a/tasks/upload.js+++ b/tasks/upload.js@@ -16,17 +16,17 @@ const error = (msg) => {var argv = yargs.usage('$0 [options] <name>')- .option('c', {- alias: 'config',- description: 'configuration target if not "release"',- requiresArg: true,- type: 'string'- }).option('d', {alias: 'dist',description: 'do not build, use artifacts found in dist directory',type: 'boolean'})+ .option('e', {+ alias: 'env',+ description: 'configuration environment if not "release"',+ requiresArg: true,+ type: 'string'+ }).option('h', {alias: 'host',description: 'upload to this host',@@ -135,8 +135,8 @@ if (!argv.dist) {let cmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';let args = ['run', 'build'];- if (argv.config) {- args = args.concat(['--', argv.config]);+ if (argv.env) {+ args = args.concat(['--', argv.env]);}console.log(`===>`, `${cmd} ${args.join(' ')}`);const proc = spawn(cmd, args);