I wanted mediaelement to automatically download the mediaelement.js library, so i borrowed the drush commands from git_deploy (which looks like it, in turn, borrowed from htmlelement:) to do the trick with this module.
see http://drupal.org/node/1081820 for the glip/git_deploy discussion.
I modified it to use git submodules. That's just how i wanted it.
Really, this could should be abstracted and turned into a drush module that reads a setting from the module .info file to see which remotes should be brought in as libraries... it wouldn't surprise me if someone is already working on this.
Comments
Comment #1
bc commentedpatch attached. it adds a new file, mediaelement.drush.inc, that has hooks for module enable as well as a drush command to add the mediaelement.js code as a git submodule.
Comment #2
Crell commentedDrush Make already does this, so it should just be a matter of adding a makefile with the right directives in it. No additional code needed.
Comment #3
jnettikI think this would be helpful not only with Drush but if there's a composer based solution for D8 sites as well.
Comment #4
jnettik