Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 2.06 KB

README.md

File metadata and controls

47 lines (30 loc) · 2.06 KB

xcpretty-azure-formatter

Build Gem Version

This xcpretty formatter produces additional Azure Pipelines LogIssue commands so xcodebuild errors and warnigns can be reported to the Azure Pipeline environment.

Installation

Add this line to your application's Gemfile:

gem 'xcpretty-azure-formatter'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install xcpretty_azure_formatter

Usage

Simply specify the azure formatter when using xcpretty. Be sure to use back-ticks. For more details see the xcpretty documentation

$ xcodebuild [args] build | xcpretty -f `xcpretty-azure-formatter` 

This will retain the original output of xcpretty, except for the following message categories which will be replaced by Azure-friendly output:

  • General warnings and errors
  • Compiler warnings and errors
  • Linker warnings
  • File Missing errors
  • Undefined Symbols errors
  • Duplicate Symbols errors

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/xcpretty_azure_formatter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the XcprettyAzureFormatter project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.