From 28aef26a47dfab5a7bde48363f98b63233413ebf Mon Sep 17 00:00:00 2001 From: Max Howell Date: Tue, 20 Sep 2011 03:38:30 +0100 Subject: More docs for `brew create` generated formula tests To assist those new to stuff. --- Library/Homebrew/cmd/create.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index c7fe22fc7..838d8eea3 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -124,8 +124,12 @@ class FormulaCreator end def test - # this will fail we won't accept that, make it test the program works! - system "/usr/bin/false" + # 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. Test the test with + # `brew test #{name}`. Remove this comment before submitting + # your pull request! + system "false" end end EOS -- cgit v1.2.3