From b1241bb3a1971bb0cdba2e0f1fef6ad046b5f109 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 23 Feb 2013 08:42:34 +0000 Subject: [PATCH] brew create: use test DSL --- Library/Homebrew/cmd/create.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index 9f215a0f21..26fd36b403 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -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}`.