Sha256: c007b6ca5020235bd169d2d23f43ba438d6de668ea7a2d25fbe314970ca442b4

Contents?: true

Size: 897 Bytes

Versions: 17

Compression:

Stored size: 897 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'
require 'ruby_leiningen'
require 'ruby_leiningen/plugins'

require_relative '../mixins/directoried'

module RakeLeiningen
  module Tasks
    class Check < RakeFactory::Task
      include Mixins::Directoried

      default_name :check
      default_description 'Perform all checks against clojure files.'
      default_prerequisites(RakeFactory::DynamicValue.new do |t|
        [
          t.lint_task_name,
          t.optimise_task_name,
          t.idiomise_task_name,
          t.format_task_name,
          t.pedantise_task_name
        ]
      end)

      parameter :lint_task_name, default: :lint
      parameter :optimise_task_name, default: :optimise
      parameter :idiomise_task_name, default: :idiomise
      parameter :format_task_name, default: :format
      parameter :pedantise_task_name, default: :pedantise
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rake_leiningen-0.39.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.39.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.38.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.7 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.6 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.5 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.4 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.3 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.37.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.36.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.35.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.35.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.34.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.33.0.pre.5 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.33.0.pre.4 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.33.0.pre.3 lib/rake_leiningen/tasks/check.rb