Created
February 23, 2016 18:31
-
-
Save tmcw/690f14cf023f2a37d87f to your computer and use it in GitHub Desktop.
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
var pkg = require('./package.json'); | |
var exec = require('child_process').exec; | |
Object.keys(pkg.dependencies).forEach(function(dep) { | |
exec('git clone https://github.com/Turfjs/' + dep + '.git packages/' + dep, function() { | |
console.log(dep + ' cloned'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment