Some cosmetic fixes for `gulpfile.js`.

10.3.x-maintenance
Michael Keller 2017-12-19 09:09:20 +13:00
parent 148178e109
commit 6dd68fb468
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ var releaseDir = './release/';
// Get platform from commandline args
// #
// # gulp <task> [<platform>]+ Run only for platform(s) (with <platform> one of --linux64, --linux32, --osx64, or --win32 --chromeos)
// # gulp <task> [<platform>]+ Run only for platform(s) (with <platform> one of --linux64, --linux32, --osx64, --win32, --win64, or --chromeos)
// #
function getPlatforms(includeChromeOs) {
var supportedPlatforms = ['linux64', 'linux32', 'osx64', 'win32','win64'];
@ -52,7 +52,7 @@ function getPlatforms(includeChromeOs) {
if (supportedPlatforms.indexOf(defaultPlatform) > -1) {
platforms.push(defaultPlatform);
} else {
console.log('Compatible platform not detected, you must specify one as parameter');
console.log(`Your current platform (${os.platform()}) is not a supported build platform. Please specify platform to build for on the command line.`);
process.exit();
}
}