Sha256: 41f5c4bef67cd0b2eff2d24ff3faeff1904189b7ed217a2cb23095a11ea1ab66
Contents?: true
Size: 454 Bytes
Versions: 10
Compression:
Stored size: 454 Bytes
Contents
require 'dep_analyzer' # :stopdoc: class HomebrewAnalyzer < DepAnalyzer def installed # don't cache so it updates every delete puts "scanning installed ports" `brew list`.scan(/\S+/).map { |s| s.split.first } end def outdated # don't cache so it updates every delete puts "scanning outdated ports" `brew outdated`.split(/\n/).map { |s| s.split.first } end def deps port `brew deps #{port}`.scan(/\S+/) end end
Version data entries
10 entries across 10 versions & 1 rubygems