Annotate

mod_admin_web/admin_web/get_deps.sh @ 745:c68ce6eb97f0

mod_adhoc_cmd_*: Remove, these are obsoleted by mod_admin_adhoc (supplied with Prosody since 0.8)
author Matthew Wild <mwild1@gmail.com>
date Thu, 19 Jul 2012 15:33:35 +0100
parent 575:565d5409c6ca
child 768:af06e69c807a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
291
94fab3c0a7aa mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
1 #!/bin/sh
539
99465bbfa205 First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents: 397
diff changeset
2 JQUERY_VERSION="1.7.1"
397
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 332
diff changeset
3 STROPHE_VERSION="1.0.2"
571
817322323fea mod_admin_web: Add bootstrap to get_deps.sh
Matthew Wild <mwild1@gmail.com>
parents: 547
diff changeset
4 BOOTSTRAP_VERSION="1.4.0"
291
94fab3c0a7aa mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff changeset
5 cd www_files/js
397
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 332
diff changeset
6 test -e jquery-$JQUERY_VERSION.min.js || wget http://code.jquery.com/jquery-$JQUERY_VERSION.min.js
575
565d5409c6ca Adapt to bootstrap
Florian Zeitz <florob@babelmonkeys.de>
parents: 573
diff changeset
7 test -e adhoc.js || wget -O adhoc.js "http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js?id=a4c0f5025877f4858576dba28bbb461f0581a5d1"
397
7331e2669f24 mod_admin_web: Update dependencies / remove need to build strophe.js (Thanks Zash)
Florian Zeitz <florob@babelmonkeys.de>
parents: 332
diff changeset
8 test -e strophe.min.js || (wget https://github.com/downloads/metajack/strophejs/strophejs-$STROPHE_VERSION.tar.gz && tar xzf strophejs-$STROPHE_VERSION.tar.gz strophejs-$STROPHE_VERSION/strophe.min.js --strip-components=1 && rm strophejs-$STROPHE_VERSION.tar.gz)
571
817322323fea mod_admin_web: Add bootstrap to get_deps.sh
Matthew Wild <mwild1@gmail.com>
parents: 547
diff changeset
9 cd ../css
817322323fea mod_admin_web: Add bootstrap to get_deps.sh
Matthew Wild <mwild1@gmail.com>
parents: 547
diff changeset
10 test -e bootstrap-$BOOTSTRAP_VERSION.min.css || wget http://twitter.github.com/bootstrap/$BOOTSTRAP_VERSION/bootstrap.min.css -O bootstrap-$BOOTSTRAP_VERSION.min.css