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.
This commit is contained in:
Max Howell 2011-08-25 00:52:12 +01:00
parent ac60ff2b14
commit 36596de68c

View File

@ -122,6 +122,11 @@ class FormulaCreator
<% end %> <% end %>
system "make install" system "make install"
end end
def test
# this will fail we won't accept that, make it test the program works!
system "/usr/bin/false"
end
end end
EOS EOS
end end