Skip to content

Commit

Permalink
Merge pull request #4 from lasseporsch/bugfix/fix-path-issue
Browse files Browse the repository at this point in the history
Fix bug
  • Loading branch information
Lasse Porsch authored Jun 17, 2021
2 parents 26be68d + 65fb859 commit f8dd22b
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 14 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## [Unreleased]

## [0.1.2] - 2021-06-17

- Renamed the gem to "xcpretty-azure-pipelines", using dashes instead of underscores. This is in line with the existing xcpretty formatters out there, which all use dashes.

## [0.1.1] - 2021-06-17

- Fixes a bug that returned the wrong path when calling the executable

## [0.1.0] - 2021-06-17

- Initial release
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

source "https://rubygems.org"

# Specify your gem's dependencies in xcpretty_azure_formatter.gemspec
# Specify your gem's dependencies in xcpretty-azure-formatter.gemspec
gemspec

gem "rake", "~> 13.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This xcpretty formatter produces additional [Azure Pipelines LogIssue](https://d
Add this line to your application's Gemfile:

```ruby
gem 'xcpretty_azure_formatter'
gem 'xcpretty-azure-formatter'
```

And then execute:
Expand All @@ -27,7 +27,7 @@ Simply specify the azure formatter when using `xcpretty`. Be sure to use back-ti
$ xcodebuild [args] build | xcpretty -f `xcpretty-azure-formatter`
```
This will retain the original output of xcpretty, and print the appropriate Azure Logging Commands as well.

s
## 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](https://github.com/[USERNAME]/xcpretty_azure_formatter/blob/master/CODE_OF_CONDUCT.md).
Expand Down
4 changes: 4 additions & 0 deletions bin/xcpretty-azure-formatter
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

print File.expand_path("../lib/xcpretty-azure-formatter.rb", __dir__)
4 changes: 0 additions & 4 deletions bin/xcpretty_azure_formatter

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module XcprettyAzureFormatter
VERSION = "0.1.0"
VERSION = "0.1.2"
end
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# frozen_string_literal: true

require_relative "lib/xcpretty_azure_formatter/version"
require_relative "lib/xcpretty-azure-formatter/version"

Gem::Specification.new do |spec|
spec.name = "xcpretty_azure_formatter"
spec.name = "xcpretty-azure-formatter"
spec.version = XcprettyAzureFormatter::VERSION
spec.authors = ["Lasse Porsch"]
spec.email = ["lasse.porsch@gmail.com"]

spec.summary = "An XCPretty Formatter to report xcodebuild warnings and errors directly to Azure Pipelines"
spec.summary = "An xcpretty Formatter to report xcodebuild warnings and errors directly to Azure Pipelines"
spec.description = "
This custom XCPretty Formatter converts relevant xcodebuild output into Azure Pipelines logging commands
(see https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#logissue-log-an-error-or-warning)
The Formatter was designed with a focus on surfacing buuld warnings in the Azure environment, e.g. in Dashboards.
The Formatter was written with a focus on reporting build warnings and errors to the Azure environment, e.g. in Dashboards.
"
spec.homepage = "https://github.com/lasseporsch/xcpretty-azure-formatter"
spec.license = "MIT"
Expand All @@ -28,10 +28,10 @@ Gem::Specification.new do |spec|
"README.md",
"LICENSE.txt",
"lib/xcpretty_azure_formatter.rb",
"bin/xcpretty_azure_formatter"
"bin/xcpretty-azure-formatter"
]
spec.bindir = "bin"
spec.executables = ["xcpretty_azure_formatter"]
spec.executables = ["xcpretty-azure-formatter"]
spec.require_paths = ["lib"]

# Uncomment to register a new dependency of your gem
Expand Down

0 comments on commit f8dd22b

Please sign in to comment.