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" |
Joshua Hesketh | 4863b60 | 2014-03-21 14:19:06 +1100 | [diff] [blame] | 4 | |
Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame] | 5 | echo "Fetching jquery.min.js..." |
| 6 | curl --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js |
Joshua Hesketh | 4863b60 | 2014-03-21 14:19:06 +1100 | [diff] [blame] | 7 | |
Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame] | 8 | echo "Fetching jquery-visibility.min.js..." |
Joshua Hesketh | d50eb58 | 2014-04-30 19:51:22 +1000 | [diff] [blame^] | 9 | curl --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.min.js |
Joshua Hesketh | 4863b60 | 2014-03-21 14:19:06 +1100 | [diff] [blame] | 10 | |
Joshua Hesketh | 9d01354 | 2014-04-03 13:08:04 +1100 | [diff] [blame] | 11 | echo "Fetching jquery.graphite.js..." |
| 12 | curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip |
| 13 | unzip -q -o jquery-graphite.zip -d $BASE_DIR/public_html/ |
| 14 | mv $BASE_DIR/public_html/graphitejs-master/jquery.graphite.js $BASE_DIR/public_html/ |
| 15 | rm -R jquery-graphite.zip $BASE_DIR/public_html/graphitejs-master |
| 16 | |
Timo Tijhof | 51516cd | 2013-04-09 01:32:29 +0200 | [diff] [blame] | 17 | echo "Fetching bootstrap..." |
Joshua Hesketh | 4863b60 | 2014-03-21 14:19:06 +1100 | [diff] [blame] | 18 | curl -L --silent https://github.com/twbs/bootstrap/releases/download/v3.1.1/bootstrap-3.1.1-dist.zip > bootstrap.zip |
| 19 | unzip -q -o bootstrap.zip -d $BASE_DIR/public_html/ |
| 20 | mv $BASE_DIR/public_html/bootstrap-3.1.1-dist $BASE_DIR/public_html/bootstrap |
| 21 | rm bootstrap.zip |