Method: Licensed::Sources::Cabal#package_info_command
- Defined in:
- lib/licensed/sources/cabal.rb
#package_info_command(id) ⇒ Object
Returns the output of running ‘ghc-pkg field` to obtain package information
129 130 131 132 |
# File 'lib/licensed/sources/cabal.rb', line 129 def package_info_command(id) fields = %w(name version synopsis homepage haddock-html data-dir) ghc_pkg_field_command(id, fields, "--ipid") end |