It is necessary to drop Git Cop because it has been deprecated. [Git Lint](https://www.alchemists.io/projects/git-lint) is the new offical gem for analyzing Git commit quality.
10 lines
145 B
Ruby
10 lines
145 B
Ruby
# frozen_string_literal: true
|
|
|
|
begin
|
|
require "git/lint/rake/setup"
|
|
rescue LoadError => error
|
|
puts error.message
|
|
end
|
|
|
|
task default: :git_lint
|