Sha256: 4ff1a710be97d6651a2b5e385f639c02d23499048a1b8a75c12c9294a1eefb10
Contents?: true
Size: 469 Bytes
Versions: 5
Compression:
Stored size: 469 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 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
5 entries across 5 versions & 1 rubygems