diff --git a/CHANGELOG.md b/CHANGELOG.md index 386a362..51502ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Gemfile b/Gemfile index d5ad34d..d0663bd 100644 --- a/Gemfile +++ b/Gemfile @@ -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" diff --git a/README.md b/README.md index 1b9fc7d..13b267b 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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). diff --git a/bin/xcpretty-azure-formatter b/bin/xcpretty-azure-formatter new file mode 100755 index 0000000..f3b33cd --- /dev/null +++ b/bin/xcpretty-azure-formatter @@ -0,0 +1,4 @@ +#!/usr/bin/env ruby +# frozen_string_literal: true + +print File.expand_path("../lib/xcpretty-azure-formatter.rb", __dir__) diff --git a/bin/xcpretty_azure_formatter b/bin/xcpretty_azure_formatter deleted file mode 100755 index cbab884..0000000 --- a/bin/xcpretty_azure_formatter +++ /dev/null @@ -1,4 +0,0 @@ -#!/usr/bin/env ruby -# frozen_string_literal: true - -print File.expand_path("../../lib/xcpretty_azure_formatter.rb", __dir__) diff --git a/lib/xcpretty_azure_formatter/version.rb b/lib/xcpretty-azure-formatter/version.rb similarity index 76% rename from lib/xcpretty_azure_formatter/version.rb rename to lib/xcpretty-azure-formatter/version.rb index b533be0..b11b87d 100644 --- a/lib/xcpretty_azure_formatter/version.rb +++ b/lib/xcpretty-azure-formatter/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module XcprettyAzureFormatter - VERSION = "0.1.0" + VERSION = "0.1.2" end diff --git a/xcpretty_azure_formatter.gemspec b/xcpretty-azure-formatter.gemspec similarity index 82% rename from xcpretty_azure_formatter.gemspec rename to xcpretty-azure-formatter.gemspec index e05bdc0..a83d975 100644 --- a/xcpretty_azure_formatter.gemspec +++ b/xcpretty-azure-formatter.gemspec @@ -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" @@ -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