In my Symfony2 project I have a number of javascript dependencies and it would be nice to have them managed along with php dependencies. Right now I am adding them to the deps file along with php dependencies and create a symlink to the web dir, for example:

//deps
[knockout-js]
    git=git://github.com/SteveSanderson/knockout.git

The problem is that javascript libraries (most of them) need to be compiled from several files into one. So after installing/updating vendors, I need to go and run compilation scripts by hand. As far as I know, bin/vendors script does not support pre/post update hooks, which would solve this problem.

Anyways, how do you approach updating of javascript vendors in your projects?

Edit
Report