Merge pull request #12217 from carlocab/cellar-check-alignment

formula_cellar_checks: fix alignment when listing files
This commit is contained in:
Mike McQuaid 2021-10-11 12:38:08 +01:00 committed by GitHub
commit 09b7ab2c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ module FormulaCellarChecks
install to "libexec" and then symlink or wrap binaries into "bin". install to "libexec" and then symlink or wrap binaries into "bin".
See formulae 'activemq', 'jruby', etc. for examples. See formulae 'activemq', 'jruby', etc. for examples.
The offending files are: The offending files are:
#{jars * "\n "} #{jars * "\n "}
EOS EOS
end end
@ -84,7 +84,7 @@ module FormulaCellarChecks
Non-libraries were installed to "#{formula.lib}". Non-libraries were installed to "#{formula.lib}".
Installing non-libraries to "lib" is discouraged. Installing non-libraries to "lib" is discouraged.
The offending files are: The offending files are:
#{non_libraries * "\n "} #{non_libraries * "\n "}
EOS EOS
end end
@ -114,7 +114,7 @@ module FormulaCellarChecks
Homebrew suggests that this software is installed to "libexec" and then Homebrew suggests that this software is installed to "libexec" and then
symlinked as needed. symlinked as needed.
The offending files are: The offending files are:
#{generics * "\n "} #{generics * "\n "}
EOS EOS
end end
@ -127,7 +127,7 @@ module FormulaCellarChecks
These '.pth' files are likely to cause link conflicts. These '.pth' files are likely to cause link conflicts.
Please invoke `setup.py` using 'Language::Python.setup_install_args'. Please invoke `setup.py` using 'Language::Python.setup_install_args'.
The offending files are: The offending files are:
#{pth_found * "\n "} #{pth_found * "\n "}
EOS EOS
end end
@ -165,7 +165,7 @@ module FormulaCellarChecks
They should instead be installed into: They should instead be installed into:
#{share}/emacs/site-lisp/#{name} #{share}/emacs/site-lisp/#{name}
The offending files are: The offending files are:
#{elisps * "\n "} #{elisps * "\n "}
EOS EOS
end end
@ -199,9 +199,9 @@ module FormulaCellarChecks
<<~EOS <<~EOS
Packages have been installed for: Packages have been installed for:
#{pythons * "\n "} #{pythons * "\n "}
but this formula depends on: but this formula depends on:
#{python_deps * "\n "} #{python_deps * "\n "}
EOS EOS
end end