diff options
| author | Max Howell | 2011-09-20 03:38:30 +0100 |
|---|---|---|
| committer | Max Howell | 2011-09-20 03:39:07 +0100 |
| commit | 6ad9225ab795ab9731b4d45cd074513e73cae5ca (patch) | |
| tree | 722a2b87c24a3d324805c73aff02faa51f8ade93 | |
| parent | 2ff2bda238272387eaeacdbd3e3d88c6f22a63e0 (diff) | |
| download | homebrew-6ad9225ab795ab9731b4d45cd074513e73cae5ca.tar.bz2 | |
More docs for `brew create` generated formula tests
To assist those new to stuff.
| -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 |
