Fix when clause ordering.
This commit is contained in:
parent
d9242c540d
commit
c7fde5ddc9
@ -406,8 +406,6 @@ class FormulaAuditor
|
|||||||
depends_on :ruby => "1.8"
|
depends_on :ruby => "1.8"
|
||||||
where "1.8" is the minimum version of Ruby required.
|
where "1.8" is the minimum version of Ruby required.
|
||||||
EOS
|
EOS
|
||||||
when *BUILD_TIME_DEPS
|
|
||||||
next if dep.build? || dep.run?
|
|
||||||
when "open-mpi", "mpich"
|
when "open-mpi", "mpich"
|
||||||
problem <<-EOS.undent
|
problem <<-EOS.undent
|
||||||
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
|
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
|
||||||
@ -415,6 +413,8 @@ class FormulaAuditor
|
|||||||
Where <lang list> is a comma delimited list that can include:
|
Where <lang list> is a comma delimited list that can include:
|
||||||
:cc, :cxx, :f77, :f90
|
:cc, :cxx, :f77, :f90
|
||||||
EOS
|
EOS
|
||||||
|
when *BUILD_TIME_DEPS
|
||||||
|
next if dep.build? || dep.run?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user