Sha256: c3036e5c94aead3dc3d029981cbd1c1d30370beed19de60f121db37fdb885437
Contents?: true
Size: 682 Bytes
Versions: 2
Compression:
Stored size: 682 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) analyzer = Depcheck::Analyzer.new results = analyzer.generate_dependencies(swiftdeps) Depcheck::SimpleOutput.post(results, verbose?) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
depcheck-0.4.0 | lib/depcheck/command/analyze_command.rb |
depcheck-0.3.0 | lib/depcheck/command/analyze_command.rb |