Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

do not sync extconf.rb

  • Loading branch information...
commit bd165cb9f087afb211584597237428d9efd2bbb8 1 parent 9240b5e
@tenderlove authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.