Method: Licensed::Sources::Cabal#cabal_file_targets
- Defined in:
- lib/licensed/sources/cabal.rb
#cabal_file_targets ⇒ Object
Returns the targets to search for ‘build-depends` in a cabal file
207 208 209 210 211 |
# File 'lib/licensed/sources/cabal.rb', line 207 def cabal_file_targets targets = Array(config.dig("cabal", "cabal_file_targets")) targets.push(*DEFAULT_TARGETS) if targets.empty? targets end |