Sha256: 0b88c9999431c2b0d67d65bea2f19d32e41c3073d4bf5ca5449fbf03f9938a24
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
class GraphCommand < Clamp::Command option ['--project'], 'PROJECT', 'Path to the xcodeproj' option ['--scheme'], 'SCHEME', 'The scheme that the project was built in' option ['--workspace'], 'WORKSPACE', 'Path to the workspace' def execute unless project || (workspace && scheme) raise StandardError, 'Must provide project path or workspace path with scheme.' end swiftdeps = Depcheck::Finder.find_swiftdeps(project, workspace, scheme) analyzer = Depcheck::Analyzer.new results = analyzer.generate_dependencies(swiftdeps) output = Depcheck::GraphOutput.new output.post(results) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
depcheck-0.3.0 | lib/depcheck/command/graph_command.rb |