diff options
| author | Max Howell | 2011-09-20 03:38:30 +0100 |
|---|---|---|
| committer | Max Howell | 2011-09-20 03:39:07 +0100 |
| commit | 28aef26a47dfab5a7bde48363f98b63233413ebf (patch) | |
| tree | 12d9cfdae94713c27ecf241f2f7e177ae35b24e3 /Library/Homebrew/cmd | |
| parent | d05478e85b776bf262e6bf2ca7b4b883a25de5ed (diff) | |
| download | brew-28aef26a47dfab5a7bde48363f98b63233413ebf.tar.bz2 | |
More docs for `brew create` generated formula tests
To assist those new to stuff.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 8 |
1 files changed, 6 insertions, 2 deletions
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 |
