diff --git a/CHANGELOG.md b/CHANGELOG.md index c82ba6e..6b21eb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,14 @@ If needed, pluralize to `Tasks`, `PRs` or `Authors` and list multiple entries se ### Security - None. +## [0.10.1] - 2022-05-27 +### Changed +- Improved output color & formatting of new `--measure` option for printing execution time per check. + Author: [Cihat Gündüz](https://github.com/Jeehut) +### Fixed +- New `--measure` option did not work when no violations were found, now also prints when all checks succeed. + Author: [Cihat Gündüz](https://github.com/Jeehut) + ## [0.10.0] - 2022-05-27 ### Added - New `--measure` / `-m` option to print execution times per check to find slow checks easily. diff --git a/Formula/anylint.rb b/Formula/anylint.rb index 304f16b..485079b 100644 --- a/Formula/anylint.rb +++ b/Formula/anylint.rb @@ -1,7 +1,7 @@ class Anylint < Formula desc "Lint anything by combining the power of Swift & regular expressions" homepage "https://github.com/FlineDev/AnyLint" - url "https://github.com/FlineDev/AnyLint.git", :tag => "0.9.2", :revision => "a696a4d40a3ede9daa07d7a381101a1e4e6efc46" + url "https://github.com/FlineDev/AnyLint.git", :tag => "0.10.0", :revision => "5a9c6d2289e1fc4e4f453c04d8a1ec891ea0797d" head "https://github.com/FlineDev/AnyLint.git" depends_on :xcode => ["12.5", :build] diff --git a/README.md b/README.md index 0715403..c90c6e1 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ alt="Coverage"/> - Version: 0.10.0 + Version: 0.10.1 $1.value }) { let milliseconds = Int(executionTime * 1000) - log.message("\(check.id) took \(milliseconds)ms", level: .info) + log.message("\(milliseconds)ms\t\t\(check.id)", level: .info) } } diff --git a/Sources/Utility/Constants.swift b/Sources/Utility/Constants.swift index 15b39b0..b9747ea 100644 --- a/Sources/Utility/Constants.swift +++ b/Sources/Utility/Constants.swift @@ -9,7 +9,7 @@ public var log = Logger(outputType: .console) /// Constants to reference across the project. public enum Constants { /// The current tool version string. Conforms to SemVer 2.0. - public static let currentVersion: String = "0.10.0" + public static let currentVersion: String = "0.10.1" /// The name of this tool. public static let toolName: String = "AnyLint" diff --git a/Sources/Utility/Logger.swift b/Sources/Utility/Logger.swift index 260afc3..877c120 100644 --- a/Sources/Utility/Logger.swift +++ b/Sources/Utility/Logger.swift @@ -123,7 +123,7 @@ public final class Logger { print(formattedCurrentTime(), "✅", message.green) case .info: - print(formattedCurrentTime(), "ℹ️ ", message.lightBlue) + print(formattedCurrentTime(), "ℹ️ ", message.lightCyan) case .warning: print(formattedCurrentTime(), "⚠️ ", message.yellow)