Removed yargs dependency since it fails to install in windows
This commit is contained in:
parent
32d7da91b7
commit
8d85fb15c4
|
@ -119,6 +119,8 @@ wix/*.wixpdb
|
|||
setup/Output/
|
||||
*.~is
|
||||
|
||||
UI.Phantom/
|
||||
|
||||
#VS outout folders
|
||||
bin
|
||||
obj
|
||||
|
@ -126,4 +128,5 @@ output/*
|
|||
|
||||
|
||||
#OS X metadata files
|
||||
._*
|
||||
._*
|
||||
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
var args = require('yargs').argv;
|
||||
// Switch to phantom.
|
||||
// Example:
|
||||
// gulp --phantom
|
||||
|
||||
var phantom = !!args.phantom;
|
||||
|
||||
console.log('Phantom:', phantom);
|
||||
var phantom = false;
|
||||
process.argv.forEach(function (val, index, array) {
|
||||
if(val=== '--phantom'){
|
||||
phantom = true;
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = phantom;
|
|
@ -34,7 +34,6 @@
|
|||
"jshint-stylish": "1.0.0",
|
||||
"run-sequence": "1.0.2",
|
||||
"streamqueue": "0.1.1",
|
||||
"webpack": "1.5.3",
|
||||
"yargs": "^3.15.0"
|
||||
"webpack": "1.5.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue