blob: 7823f2908800d94829ead94df181c2a64c9d459a [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..."
6curl --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..."
9curl --silent https://raw.github.com/mathiasbynens/jquery-visibility/master/jquery-visibility.min.js > $BASE_DIR/public_html/jquery-visibility.min.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