Sha256: 29527e406abf17d135e7e373a1d5430a59e2180428a7b993ba99dccd1aba32f2
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
class AnalyzeCommand < 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' option ["--verbose", "-v"], :flag, "Enable verbose mode" 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(results, verbose?) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
depcheck-0.2.0 | lib/depcheck/command/analyze_command.rb |