Permalink
Browse files

Better rubyspec:sync task.

  • Loading branch information...
1 parent b402b70 commit 3f5d092a5b553b957b89c03be5dc967af5535c3e @brixen brixen committed Jan 7, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 rakelib/rubyspec.rake
@@ -14,7 +14,9 @@ namespace :rubyspec do
end
rm_rf "spec/ruby"
- rsync dir + "/*", "spec/ruby"
+ rm_rf "#{dir}/optional/capi/ext/rubyspec_version.h"
+ rsync "#{dir}/*", "spec/ruby"
+ cp "#{dir}/.gitignore", "spec/ruby"
version = Dir.chdir(dir) { `git log --pretty=oneline -1`[0..7] }
sh "git add spec/ruby/"

0 comments on commit 3f5d092

Please sign in to comment.