Skip to content

Instantly share code, notes, and snippets.

@jomz
Created December 22, 2009 13:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jomz/261746 to your computer and use it in GitHub Desktop.
Save jomz/261746 to your computer and use it in GitHub Desktop.
# radiant
alias dbme='rake db:migrate:extensions'
alias ue='update_extension'
alias uae='update_all_extensions'
function update_extension {
rake ray:extension:update name=$1
}
function update_all_extensions {
for dir in `/bin/ls vendor/extensions/`; do ue $dir; done
}
function undo_gorillafy { # undo overwrites of sensitive files by gorillafy's update task
git co public/stylesheets/extensions/gallery/lightbox.css;
git co public/stylesheets/forms.css;
git co public/stylesheets/grid.css;
git co public/stylesheets/ie.css;
git co public/stylesheets/stylesheet.css;
git co public/javascripts/extensions/wym_editor_filter/radiant.wymeditor.js;
git co public/images/body-bg.gif;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment