update plugin management

This commit is contained in:
Erich Smith
2012-05-13 08:37:31 -04:00
parent 8051a8520e
commit 08e439c4f0
18 changed files with 198 additions and 167 deletions

View File

@@ -1,21 +1,21 @@
# The install directory is hard-coded. TODO: allow the directory to be specified on the command line.
cite about-plugin
about-plugin download jquery files into current project
about-plugin 'download jquery files into current project'
[[ -z "$JQUERY_VERSION_NUMBER" ]] && JQUERY_VERSION_NUMBER="1.6.1"
[[ -z "$JQUERY_UI_VERSION_NUMBER" ]] && JQUERY_UI_VERSION_NUMBER="1.8.13"
function rails_jquery {
about 'download rails.js into public/javascripts'
group javascript
group 'javascript'
curl -o public/javascripts/rails.js http://github.com/rails/jquery-ujs/raw/master/src/rails.js
}
function jquery_install {
about 'download jquery.js into public/javascripts'
group javascripts
group 'javascripts'
if [ -z "$1" ]
then
@@ -28,7 +28,7 @@ function jquery_install {
function jquery_ui_install {
about 'download jquery_us.js into public/javascripts'
group javascripts
group 'javascripts'
if [ -z "$1" ]
then