Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RawXcodeCommandRunner ¶
type RawXcodeCommandRunner struct {
// contains filtered or unexported fields
}
RawXcodeCommandRunner is an xcodebuild runner that uses no additional log formatter
func (*RawXcodeCommandRunner) CheckInstall ¶
func (c *RawXcodeCommandRunner) CheckInstall() (*version.Version, error)
CheckInstall does nothing as no additional log formatter is used
type Runner ¶
type Runner interface { CheckInstall() (*version.Version, error) Run(workDir string, xcodebuildOpts []string, logFormatterOpts []string) (Output, error) }
Runner abstarcts an xcodebuild command runner, it can use any log formatter
func NewRawCommandRunner ¶
NewRawCommandRunner creates a new RawXcodeCommandRunner
func NewXcbeautifyRunner ¶
NewXcbeautifyRunner returns a new xcbeautify runner
func NewXcprettyCommandRunner ¶
func NewXcprettyCommandRunner(logger log.Logger, commandFactory command.Factory, pathChecker pathutil.PathChecker, fileManager fileutil.FileManager, rubyCommandFactory ruby.CommandFactory, rubyEnv ruby.Environment) Runner
NewXcprettyCommandRunner crates a new XcprettyCommandRunner
type XcbeautifyRunner ¶
type XcbeautifyRunner struct {
// contains filtered or unexported fields
}
XcbeautifyRunner is a xcodebuild runner that uses xcbeautify as log formatter
func (*XcbeautifyRunner) CheckInstall ¶
func (c *XcbeautifyRunner) CheckInstall() (*version.Version, error)
CheckInstall checks if xcbeautify is on the PATH and returns its version
type XcprettyCommandRunner ¶
type XcprettyCommandRunner struct {
// contains filtered or unexported fields
}
XcprettyCommandRunner is an xcodebuild command runner that uses xcpretty as log formatter
func (*XcprettyCommandRunner) CheckInstall ¶
func (c *XcprettyCommandRunner) CheckInstall() (*version.Version, error)
CheckInstall checks if xcpretty is isntalled, if not installs it. Returns its version.