lib/capper/config.rb in capper-0.6.8 vs lib/capper/config.rb in capper-0.7.0

- old
+ new

@@ -8,20 +8,17 @@ run "rm -rf #{config_path} && git clone -q #{config_repo} #{config_path}" end end namespace :config do + desc "Setup configuration files from config repo" task :setup, :roles => :app, :except => { :no_release => true } do unless config_repo.nil? run "cd #{config_path} && git pull -q" end fetch(:config_files, []).each do |f| run "cp #{config_path}/#{f} #{release_path}/config/" - end - - fetch(:symlinks, {}).each do |source, dest| - run "rm -rf #{release_path}/#{dest} && ln -nfs #{shared_path}/#{source} #{release_path}/#{dest}" end end end after "deploy:update_code", "config:setup"