Created
September 28, 2014 00:53
-
-
Save wtnabe/160aa4901f122d2cc871 to your computer and use it in GitHub Desktop.
gulp task for installing basic cordova plugins ( with gulpfile prepared by Ionic )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gulp.task('cordova-plugin-install', function() { | |
require('./plugins.json').forEach(function(plugin) { | |
sh.exec('cordova plugin add ' + plugin, {async: false}, function(code, output) { | |
console.log(output); | |
}); | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"https://github.com/apache/cordova-plugin-inappbrowser", | |
"https://github.com/danwilson/google-analytics-plugin" | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment