Removed yargs dependency since it fails to install in windows

pull/3113/head
Keivan Beigi 9 years ago
parent 32d7da91b7
commit 8d85fb15c4

5
.gitignore vendored

@ -119,6 +119,8 @@ wix/*.wixpdb
setup/Output/ setup/Output/
*.~is *.~is
UI.Phantom/
#VS outout folders #VS outout folders
bin bin
obj obj
@ -126,4 +128,5 @@ output/*
#OS X metadata files #OS X metadata files
._* ._*

@ -1,10 +1,12 @@
var args = require('yargs').argv;
// Switch to phantom. // Switch to phantom.
// Example: // Example:
// gulp --phantom // gulp --phantom
var phantom = !!args.phantom; var phantom = false;
process.argv.forEach(function (val, index, array) {
console.log('Phantom:', phantom); if(val=== '--phantom'){
phantom = true;
}
});
module.exports = phantom; module.exports = phantom;

@ -34,7 +34,6 @@
"jshint-stylish": "1.0.0", "jshint-stylish": "1.0.0",
"run-sequence": "1.0.2", "run-sequence": "1.0.2",
"streamqueue": "0.1.1", "streamqueue": "0.1.1",
"webpack": "1.5.3", "webpack": "1.5.3"
"yargs": "^3.15.0"
} }
} }

Loading…
Cancel
Save