Fix style in brew create-generated formulae

- Fix indentation oddities
- Add empty lines where we expect them in submitted formulae
This commit is contained in:
Alyssa Ross 2018-03-12 09:04:07 +00:00
parent 254ce8bb64
commit 69b9c11ae8
No known key found for this signature in database
GPG Key ID: 6CF064D149E3ABDB

View File

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