Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

RequireJS update script #25

Merged
merged 8 commits into from Jul 16, 2012

Conversation

Projects
None yet
2 participants
Contributor

traviskaufman commented Jul 16, 2012

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...

@thomasdavis thomasdavis added a commit that referenced this pull request Jul 16, 2012

@thomasdavis thomasdavis Merge pull request #25 from traviskaufman/requirejs_update_script
RequireJS update script
f950ec9

@thomasdavis thomasdavis merged commit f950ec9 into thomasdavis:gh-pages Jul 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment