Created
August 2, 2012 03:28
-
-
Save linjunpop/3233044 to your computer and use it in GitHub Desktop.
Rails 2.3 capistrano recipe to compile with compass
This file contains 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
namespace :compass do | |
desc 'Updates stylesheets if necessary from their Sass templates.' | |
task :compile do | |
run("cd #{latest_release}; bundle exec compass compile --output-style nested --force -e production") | |
end | |
end | |
before 'deploy:restart', 'compass:compile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment