Skip to content
Snippets Groups Projects
Commit 011b47ae authored by Xu Cheng's avatar Xu Cheng Committed by Mike McQuaid
Browse files

Add `depends_on :gpg`

parent b6a91fb2
No related branches found
No related tags found
No related merge requests found
......@@ -107,6 +107,7 @@ class DependencyCollector
when :macos then MinimumMacOSRequirement.new(tags)
when :mysql then MysqlDependency.new(tags)
when :postgresql then PostgresqlDependency.new(tags)
when :gpg then GPGDependency.new(tags)
when :fortran then FortranDependency.new(tags)
when :mpi then MPIDependency.new(*tags)
when :tex then TeXDependency.new(tags)
......
......@@ -59,6 +59,13 @@ class PostgresqlDependency < Requirement
satisfy { which 'pg_config' }
end
class GPGDependency < Requirement
fatal true
default_formula "gpg"
satisfy { which("gpg") || which("gpg2") }
end
class TeXDependency < Requirement
fatal true
cask "mactex"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment