thomasdavis/backboneboilerplate — pull request #25 by traviskaufman (2012-07-16 02:46:04+00:00)
Title: RequireJS update script

This shell script serves to better automate the process of upgrading requireJS to its current version. If you'd like I can expand it to update all vendor libraries, or to have specific vendor libraries update, etc. Basically it drops the new requireJS into js/libs/require, and updates the build script to use that new version. It also stores the current requireJS version number in a hidden file that the script can use to prevent unnecessary updating, etc.

I went with a shell script because I didn't want to introduce a new language into the build system. Also, I put this in the build folder because I didn't know where else would be appropriate (usually something like this would go in a 'tasks' directory, right?) Thank you again!

p.s. I tested requireJS 2.0.4 with the current code in backbone bp and it seems to work fine...