diff --git a/.gitignore b/.gitignore index c9f095cba..c9ff8e66b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 -._* \ No newline at end of file +._* + diff --git a/gulp/phantom.js b/gulp/phantom.js index 7b6aca6a4..e9da44f6a 100644 --- a/gulp/phantom.js +++ b/gulp/phantom.js @@ -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; \ No newline at end of file diff --git a/package.json b/package.json index 00b763e79..dd5ad4cc2 100644 --- a/package.json +++ b/package.json @@ -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" } }