Skip to content

jane/xcpretty-teamcity-formatter

 
 

Repository files navigation

XCPretty TeamCity Formatter

Custom formatter for xcpretty with some syntactic sugar for presentation on TeamCity.

Installation

This formatter is not distriguted currently. Install by cloning the repo and building/installing. Sorry 🤷

Usage

Specify xcpretty-jane-teamcity-formatter as a custom formatter to xcpretty:

#!/bin/bash

xcodebuild | xcpretty -f `xcpretty-jane-teamcity-formatter`

How it works

The --formatter option takes a file path as an argument, which is returned by the xcpretty-jane-teamcity-formatter binary. It must be evaluated before the xcpretty arguments are evaluated, hence the backtick wrapping. The specified file must return a Ruby subclass of XCPretty::Formatter, which will then receive formatter_* method invocations as the build output is parsed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%