Removed yargs dependency since it fails to install in windows

This commit is contained in:
Keivan Beigi 2015-07-18 12:52:02 -07:00
parent 32d7da91b7
commit 8d85fb15c4
3 changed files with 11 additions and 7 deletions

3
.gitignore vendored
View File

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

View File

@ -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;

View File

@ -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"
} }
} }