Sha256: 4dee099b0e2a5b0e8de17c6c50e46994a8675b0e6d6ea1f23cddc02da3312260
Contents?: true
Size: 489 Bytes
Versions: 11
Compression:
Stored size: 489 Bytes
Contents
# frozen_string_literal: true require "rake" require "git/lint" module Git module Lint module Rake class Tasks include ::Rake::DSL def self.setup new.install end def initialize cli: CLI @cli = cli end def install desc "Run Git Lint" task :git_lint do cli.start ["--analyze"] end end private attr_reader :cli end end end end
Version data entries
11 entries across 11 versions & 1 rubygems