Pair program with me! profile for carousel at Stack Overflow, Q&A for professional and enthusiast programmers

5/25/2013

Bash script helper for fetching remote JS libs

I created a small bash-script, to help me fetch most freqently used JS libraries for client side development:

#!/bin/bash

url http://code.jquery.com/jquery-latest.js>jquery.js
curl https://raw.github.com/documentcloud/underscore/
master/underscore.js>underscore.js
curl https://raw.github.com/documentcloud/backbone/
master/backbone.js>backbone.js


Although these libs can be fetched manually, or like a part of for example Yeoman project or Bower, I found that sometimes I don't need all the functionallity that comes with package managers. So this script is ideal for a fast production setup.

It can be found on my Git repo.

Happy Coding.

1 comment: