Created
August 6, 2012 09:19
-
-
Save eladmeidar/3272506 to your computer and use it in GitHub Desktop.
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
desc "copy local configuration files into release directory" | |
task :config, :roles => :app do | |
run<<-CMD | |
ls -1 #{shared_path}/config | while read f; do | |
ln -nfs #{shared_path}/config/$f #{release_path}/config/$f; | |
done | |
CMD | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment