Created
August 8, 2012 09:19
-
-
Save linjunpop/3293708 to your computer and use it in GitHub Desktop.
Capistrano recipe for barista
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 :barista do | |
desc 'Compile CoffeeScripts.' | |
task :brew do | |
run("cd #{latest_release}; RAILS_ENV=#{rails_env} bundle exec rake barista:brew") | |
end | |
end | |
before 'deploy:restart', 'barista:brew' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment