Mercurial > prosody-modules
annotate mod_admin_web/admin_web/get_deps.sh @ 297:a70284e01453
mod_admin_web: Add support for calling adhoc commands
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sun, 26 Dec 2010 02:20:25 +0100 |
parents | 94fab3c0a7aa |
children | b8ea61f3b442 |
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 |
94fab3c0a7aa
mod_admin_web: replace get_deps.lua with a (working) get_deps.sh
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
2 cd www_files/js |
297
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
3 test -e jquery-1.4.4.min.js || wget http://code.jquery.com/jquery-1.4.4.min.js |
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
4 test -e adhoc.js || wget http://cgit.babelmonkeys.de/cgit.cgi/adhocweb/plain/js/adhoc.js |
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
5 test -e strophe.js || (git clone git://github.com/metajack/strophejs.git strophejs && \ |
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
6 cd strophejs && make strophe.js && cp strophe.js ../strophe.js && \ |
a70284e01453
mod_admin_web: Add support for calling adhoc commands
Florian Zeitz <florob@babelmonkeys.de>
parents:
291
diff
changeset
|
7 cd .. && rm -rf strophejs) |