Created
June 21, 2011 10:25
-
-
Save xdite/1037574 to your computer and use it in GitHub Desktop.
deploy.rake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'jammit' | |
| namespace :jammit do | |
| desc 'Run the jammit asset packaging system' | |
| task :package do | |
| Jammit.package! | |
| end | |
| end | |
| Jammit Capistrano Task | |
| namespace :jammit do | |
| task :package do | |
| run "cd #{deploy_to}/current && rake jammit:package" | |
| end | |
| end | |
| # Run jammit after updating the code | |
| after "deploy:update", "jammit:package" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment