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:
parent
254ce8bb64
commit
69b9c11ae8
@ -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.
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user