Sha256: 0e36ee48295a24dc308232e4dc41fef48a6810faa0f47cb200e95a1cf0e282fe
Contents?: true
Size: 561 Bytes
Versions: 16
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true require "rake" require "git/lint" module Git module Lint module Rake # Defines and installs Rake tasks for use in downstream projects. class Tasks include ::Rake::DSL def self.setup = new.install def initialize shell: CLI::Shell.new @shell = shell end def install desc "Run Git Lint" task :git_lint do shell.call ["--analyze"] end end private attr_reader :shell end end end end
Version data entries
16 entries across 16 versions & 1 rubygems