Merge pull request #3910 from alyssais/create_style

Fix style in `brew create`-generated formulae
This commit is contained in:
Mike McQuaid 2018-03-12 09:33:21 +00:00 committed by GitHub
commit 700a4b4ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -190,6 +190,7 @@ class FormulaCreator
<% elsif mode.nil? %>
# depends_on "cmake" => :build
<% end %>
def install
# ENV.deparallelize # if your formula fails when building in parallel
<% if mode == :cmake %>
@ -219,6 +220,7 @@ class FormulaCreator
system "make", "install" # if this fails, try separate make/make install steps
<% end %>
end
test do
# `test do` will create, run in and delete a temporary directory.
#