diff options
| author | Max Howell | 2011-08-25 00:52:12 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-25 00:53:37 +0100 |
| commit | 36596de68c34a5805a74cbc08e86282ef53f1c73 (patch) | |
| tree | 4e843197972bcad979fc6517a6c2fa00d64b33e9 /Library/Homebrew/cmd | |
| parent | ac60ff2b14fde6ef7ffe291ab3e1a3c4fe9892e8 (diff) | |
| download | brew-36596de68c34a5805a74cbc08e86282ef53f1c73.tar.bz2 | |
Force contributors to define a test by adding it to the create template
A little cheeky but it should help us to maintain higher quality.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index dc39fc381..c7fe22fc7 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -122,6 +122,11 @@ class FormulaCreator <% end %> system "make install" end + + def test + # this will fail we won't accept that, make it test the program works! + system "/usr/bin/false" + end end EOS end |
