Sha256: 06488bd4a02e4a11ac42f6d74c2905c88407aedb177067307ef9a8f4eed7855f
Contents?: true
Size: 499 Bytes
Versions: 6
Compression:
Stored size: 499 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 ["--analyze"] } end private attr_reader :shell end end end end
Version data entries
6 entries across 6 versions & 1 rubygems