Method: Licensed::Sources::Cabal#ghc_pkg_field_command
- Defined in:
- lib/licensed/sources/cabal.rb
#ghc_pkg_field_command(id, fields, *args) ⇒ Object
Runs a ‘ghc-pkg field` command for a given set of fields and arguments Automatically includes ghc package DB locations in the command
136 137 138 |
# File 'lib/licensed/sources/cabal.rb', line 136 def ghc_pkg_field_command(id, fields, *args) Licensed::Shell.execute("ghc-pkg", "field", id, fields.join(","), *args, *package_db_args, allow_failure: true) end |