brew create: use test DSL
This commit is contained in:
parent
72afade1ee
commit
b1241bb3a1
@ -146,7 +146,9 @@ class FormulaCreator
|
||||
system "make install" # if this fails, try separate make/make install steps
|
||||
end
|
||||
|
||||
def test
|
||||
test do
|
||||
# `test do` will create, run in and delete a temporary directory.
|
||||
#
|
||||
# This test will fail and we won't accept that! It's enough to just replace
|
||||
# "false" with the main program this formula installs, but it'd be nice if you
|
||||
# were more thorough. Run the test with `brew test #{name}`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user