Sha256: d7a1140ac3bff71681a7bb1c02af82591954c3511891bf817006116cfc448ada
Contents?: true
Size: 589 Bytes
Versions: 2
Compression:
Stored size: 589 Bytes
Contents
class UsageCommand < 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) results = Depcheck::Analyzer.generate_dependencies(swiftdeps) Depcheck::SimpleOutput.post_usage(results) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
depcheck-0.2.0 | lib/depcheck/command/usage_command.rb |
depcheck-0.1.0 | lib/depcheck/command/usage_command.rb |