diff options
| author | Max Howell | 2011-08-25 00:52:12 +0100 |
|---|---|---|
| committer | Max Howell | 2011-08-25 00:53:37 +0100 |
| commit | 46c38bf6dd8bd71e6c32d1d2a08fd533ee08eca5 (patch) | |
| tree | 5f5c544756bb49c8e67660b8e66d4d44d0de43fb /Library/Homebrew/cmd | |
| parent | 0d28e5baa6e21256f8cf9139268ffd38c41d03c3 (diff) | |
| download | homebrew-46c38bf6dd8bd71e6c32d1d2a08fd533ee08eca5.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 |
