blob: b31d0de5fc82cc91f5dc5fe1d7d37a059d920cc7 [file] [log] [blame]
Timo Tijhof51516cd2013-04-09 01:32:29 +02001#!/bin/bash
2BASE_DIR=$(cd $(dirname $0); pwd)
3echo "Destination: $BASE_DIR/public_html"
Joshua Hesketh4863b602014-03-21 14:19:06 +11004
Timo Tijhof51516cd2013-04-09 01:32:29 +02005echo "Fetching jquery.min.js..."
Joshua Heskethdb14a452014-06-05 15:04:55 +10006curl -L --silent http://code.jquery.com/jquery.min.js > $BASE_DIR/public_html/jquery.min.js
Joshua Hesketh4863b602014-03-21 14:19:06 +11007
Timo Tijhof51516cd2013-04-09 01:32:29 +02008echo "Fetching jquery-visibility.min.js..."
Joshua Heskethdb14a452014-06-05 15:04:55 +10009curl -L --silent https://raw.githubusercontent.com/mathiasbynens/jquery-visibility/master/jquery-visibility.js > $BASE_DIR/public_html/jquery-visibility.js
Joshua Hesketh4863b602014-03-21 14:19:06 +110010
Joshua Hesketh9d013542014-04-03 13:08:04 +110011echo "Fetching jquery.graphite.js..."
12curl -L --silent https://github.com/prestontimmons/graphitejs/archive/master.zip > jquery-graphite.zip
13unzip -q -o jquery-graphite.zip -d $BASE_DIR/public_html/
14mv $BASE_DIR/public_html/graphitejs-master/jquery.graphite.js $BASE_DIR/public_html/
15rm -R jquery-graphite.zip $BASE_DIR/public_html/graphitejs-master
16
Timo Tijhof51516cd2013-04-09 01:32:29 +020017echo "Fetching bootstrap..."
Joshua Hesketh4863b602014-03-21 14:19:06 +110018curl -L --silent https://github.com/twbs/bootstrap/releases/download/v3.1.1/bootstrap-3.1.1-dist.zip > bootstrap.zip
19unzip -q -o bootstrap.zip -d $BASE_DIR/public_html/
20mv $BASE_DIR/public_html/bootstrap-3.1.1-dist $BASE_DIR/public_html/bootstrap
21rm bootstrap.zip