diff options
| author | Max Howell | 2012-02-29 02:00:33 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-29 02:03:26 +0000 |
| commit | f78970f6b99d4b1da7471d657ff34d8e660d4a8e (patch) | |
| tree | aef71a0d13a52c8e2a3d17bb158499ec9e849afb /Library | |
| parent | 56771ee0605a368e765187bdebaed45695ca3e91 (diff) | |
| download | homebrew-f78970f6b99d4b1da7471d657ff34d8e660d4a8e.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 |
