1
0
mirror of /repos/Prototyper.git synced 2025-12-30 06:31:32 +01:00
Prototyper/installit

26 lines
735 B
Bash
Executable File

#!/usr/bin/env bash
# TODO: rewrite in node
set -e
current_dir=$(cd $(dirname $0) && pwd)
cd ${current_dir}
mkdir -p ./public/lib/knockout
cd ./public/lib/knockout
if [ ! -f ./public/lib/knockout/knockout.mapping-latest.js ]; then
curl -O https://raw.github.com/SteveSanderson/knockout.mapping/master/build/output/knockout.mapping-latest.js
fi
if [ ! -f ./public/lib/knockout/knockout.mapping-latest.debug.js ]; then
curl -O https://raw.github.com/SteveSanderson/knockout.mapping/master/build/output/knockout.mapping-latest.debug.js
fi
if [ ! -f ./public/lib/knockout/knockout-bootstrap.min.js ]; then
curl -O https://raw.github.com/billpull/knockout-bootstrap/master/build/knockout-bootstrap.min.js
fi
cd ${current_dir}