blob: a5dddff22bc11a5e14f8bc798665929f6235af04 [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
Timo Tijhof51516cd2013-04-09 01:32:29 +020011echo "Fetching bootstrap..."
Joshua Hesketh4863b602014-03-21 14:19:06 +110012curl -L --silent https://github.com/twbs/bootstrap/releases/download/v3.1.1/bootstrap-3.1.1-dist.zip > bootstrap.zip
13unzip -q -o bootstrap.zip -d $BASE_DIR/public_html/
14mv $BASE_DIR/public_html/bootstrap-3.1.1-dist $BASE_DIR/public_html/bootstrap
15rm bootstrap.zip