class Danger::DangerSwiftInfo
Runs SwiftInfo
and prints the results to the pull request. You must have [SwiftInfo](github.com/rockbruno/SwiftInfo) installed somewhere in your project. You can detect that SwiftInfo
is running specifically for Danger
by adding a `if isInPullRequestMode` condition in your Infofile. You can use this condition to extract different rules and prevent saving the new output. @example Run SwiftInfo
swiftinfo.run './Pods/SwiftInfo/bin/swiftinfo'
@see rockbruno/danger-SwiftInfo @tags swift, xcode, swiftinfo, ios
Public Class Methods
instance_name()
click to toggle source
# File lib/danger_plugin.rb, line 29 def self.instance_name "swiftinfo" end
Public Instance Methods
run(path)
click to toggle source