tap-readme: create README in tap path.

This commit is contained in:
Mike McQuaid 2015-09-06 13:20:06 +01:00
parent f279a13977
commit 881d68d355

View File

@ -25,7 +25,7 @@ module Homebrew
EOS
puts template if ARGV.verbose?
path = Pathname.new("./README.md")
path = HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-#{name}/README.md"
raise "#{path} already exists" if path.exist?
path.write template
end