diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-29 17:03:49 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-03-29 17:03:49 -0700 |
commit | bd165cb9f087afb211584597237428d9efd2bbb8 (patch) | |
tree | 596f83518aea6c091ba8316d75772f3c317881b0 /Rakefile | |
parent | 9240b5eb7b256101a0d260fce529880994b10ac6 (diff) | |
download | psych-bd165cb9f087afb211584597237428d9efd2bbb8.tar.gz |
do not sync extconf.rb
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -41,15 +41,18 @@ namespace :merge do [basedir, 'test', 'psych/'] => [rubydir, 'test', 'psych/'], [basedir, 'lib', 'psych.rb'] => [rubydir, 'lib', 'psych.rb'], } + + rsync = 'rsync -av --exclude extconf.rb --delete' + task :to_ruby do mergedirs.each do |from, to| - sh "rsync -av --delete #{File.join(*from)} #{File.join(*to)}" + sh "#{rsync} #{File.join(*from)} #{File.join(*to)}" end end task :from_ruby do mergedirs.each do |from, to| - sh "rsync -av --delete #{File.join(*to)} #{File.join(*from)}" + sh "#{rsync} #{File.join(*to)} #{File.join(*from)}" end end end |