Do not include .svn files in file distro (closes #3195) [jamie@dang.com]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 f38476dd
......@@ -118,6 +118,7 @@ desc "Copy in all the Rails packages to vendor"
task :copy_vendor_libraries do
mkdir File.join(PKG_DESTINATION, 'vendor', 'rails')
VENDOR_LIBS.each { |dir| cp_r File.join('..', dir), File.join(PKG_DESTINATION, 'vendor', 'rails', dir) }
FileUtils.rm_r(Dir.glob(File.join(PKG_DESTINATION, 'vendor', 'rails', "**", ".svn")))
end
desc "Link in all the Rails packages to vendor"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册