Sha256: e83ec8f67c78e093bc0d27fa93efe0dc734cd76349608bfd4b9b4e4da706dd15
Contents?: true
Size: 617 Bytes
Versions: 2
Compression:
Stored size: 617 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) analyzer = Depcheck::Analyzer.new results = 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.4.0 | lib/depcheck/command/usage_command.rb |
depcheck-0.3.0 | lib/depcheck/command/usage_command.rb |