Merge pull request #5912 from MikeMcQuaid/tap-new-output-path
tap-new: improve output.
This commit is contained in:
commit
f0bcc24fe7
@ -66,6 +66,8 @@ module Homebrew
|
|||||||
displayName: Run brew test-bot
|
displayName: Run brew test-bot
|
||||||
YAML
|
YAML
|
||||||
write_path(tap, "azure-pipelines.yml", azure)
|
write_path(tap, "azure-pipelines.yml", azure)
|
||||||
|
ohai "Created #{tap}"
|
||||||
|
puts tap.path.to_s
|
||||||
end
|
end
|
||||||
|
|
||||||
def write_path(tap, filename, content)
|
def write_path(tap, filename, content)
|
||||||
|
@ -2,7 +2,7 @@ describe "brew tap-new", :integration_test do
|
|||||||
it "initializes a new Tap with a ReadMe file" do
|
it "initializes a new Tap with a ReadMe file" do
|
||||||
expect { brew "tap-new", "homebrew/foo", "--verbose" }
|
expect { brew "tap-new", "homebrew/foo", "--verbose" }
|
||||||
.to be_a_success
|
.to be_a_success
|
||||||
.and not_to_output.to_stdout
|
.and output(%r{homebrew/foo}).to_stdout
|
||||||
.and not_to_output.to_stderr
|
.and not_to_output.to_stderr
|
||||||
|
|
||||||
expect(HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-foo/README.md").to exist
|
expect(HOMEBREW_LIBRARY/"Taps/homebrew/homebrew-foo/README.md").to exist
|
Loading…
x
Reference in New Issue
Block a user