Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created February 23, 2016 18:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/690f14cf023f2a37d87f to your computer and use it in GitHub Desktop.
Save tmcw/690f14cf023f2a37d87f to your computer and use it in GitHub Desktop.
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