added phantom support in gulp

This commit is contained in:
Keivan Beigi 2015-07-18 11:50:16 -07:00
commit 32d7da91b7
3 changed files with 54 additions and 17 deletions

10
gulp/phantom.js Normal file
View file

@ -0,0 +1,10 @@
var args = require('yargs').argv;
// Switch to phantom.
// Example:
// gulp --phantom
var phantom = !!args.phantom;
console.log('Phantom:', phantom);
module.exports = phantom;