Sha256: e686bddaceaaeafd5ff810450a4904e55c00653ccc096dba9558a51a1fb82769
Contents?: true
Size: 506 Bytes
Versions: 20
Compression:
Stored size: 506 Bytes
Contents
# frozen_string_literal: true require "git/lint" require "rake" module Git module Lint module Rake # Registers Rake tasks for use. class Register include ::Rake::DSL def self.call = new.call def initialize shell: CLI::Shell.new @shell = shell end def call desc "Run Git Lint" task(:git_lint) { shell.call %w[analyze --branch] } end private attr_reader :shell end end end end
Version data entries
20 entries across 20 versions & 1 rubygems