Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | BASE_DIR=$(cd $(dirname $0); pwd) |
| 3 | echo "Destination: $BASE_DIR/public_html" |
| 4 | echo "Fetching jquery.min.js..." |
| 5 | curl --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js |
| 6 | echo "Fetching jquery-visibility.min.js..." |
| 7 | curl --silent https://raw.github.com/mathiasbynens/jquery-visibility/master/jquery-visibility.min.js > $BASE_DIR/public_html/jquery-visibility.min.js |
| 8 | echo "Fetching bootstrap..." |
| 9 | curl --silent http://twitter.github.io/bootstrap/assets/bootstrap.zip > bootstrap.zip && unzip -q -o bootstrap.zip -d $BASE_DIR/public_html/ && rm bootstrap.zip |