tap-readme: create README in tap path.
This commit is contained in:
parent
f279a13977
commit
881d68d355
@ -25,7 +25,7 @@ module Homebrew
|
|||||||
EOS
|
EOS
|
||||||
|
|
||||||
puts template if ARGV.verbose?
|
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?
|
raise "#{path} already exists" if path.exist?
|
||||||
path.write template
|
path.write template
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user