|
@@ -9,12 +9,17 @@ module.exports = function (grunt) {
|
|
|
destDir: 'dist',
|
|
destDir: 'dist',
|
|
|
tempDir: 'tmp',
|
|
tempDir: 'tmp',
|
|
|
platform: process.platform.replace('win32', 'windows'),
|
|
platform: process.platform.replace('win32', 'windows'),
|
|
|
|
|
+ enterprise: false,
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
if (grunt.option('platform')) {
|
|
if (grunt.option('platform')) {
|
|
|
config.platform = grunt.option('platform');
|
|
config.platform = grunt.option('platform');
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (grunt.option('enterprise')) {
|
|
|
|
|
+ config.enterprise = true;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if (grunt.option('arch')) {
|
|
if (grunt.option('arch')) {
|
|
|
config.arch = grunt.option('arch');
|
|
config.arch = grunt.option('arch');
|
|
|
} else {
|
|
} else {
|