Skip to content
Browse files

do not sync extconf.rb

  • Loading branch information...
1 parent 9240b5e commit bd165cb9f087afb211584597237428d9efd2bbb8 @tenderlove committed Mar 29, 2010
Showing with 5 additions and 2 deletions.
  1. +5 −2 Rakefile
View
7 Rakefile
@@ -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

0 comments on commit bd165cb

Please sign in to comment.
Something went wrong with that request. Please try again.