diff options
| author | Max Howell | 2012-02-29 02:00:33 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-29 02:03:26 +0000 |
| commit | 85e05b27dd26d12882b7153211af5dcfa1b2de3d (patch) | |
| tree | ad731a6da8b4412aab395e47e704e2d9d5f06162 /Library | |
| parent | fb9b263bc3b35f0b8735c7c2495d75c0cab43a34 (diff) | |
| download | brew-85e05b27dd26d12882b7153211af5dcfa1b2de3d.tar.bz2 | |
Some additional aid for `brew create`
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/create.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/create.rb b/Library/Homebrew/cmd/create.rb index 6f71ac30b..ecdb9e031 100644 --- a/Library/Homebrew/cmd/create.rb +++ b/Library/Homebrew/cmd/create.rb @@ -98,6 +98,8 @@ class FormulaCreator def template; <<-EOS.undent require 'formula' + # REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! + class #{Formula.class_s name} < Formula homepage '' url '#{url}' @@ -120,6 +122,7 @@ class FormulaCreator "--prefix=\#{prefix}" # system "cmake . \#{std_cmake_parameters}" <% end %> + # if this fails, try separate make/make install steps system "make install" end @@ -127,8 +130,7 @@ class FormulaCreator # 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! + # `brew test #{name}`. system "false" end end |
