Sha256: 5f2fd75f8238284d71a8e396057ab11130260db7923ec98beee3c90129108612

Contents?: true

Size: 872 Bytes

Versions: 27

Compression:

Stored size: 872 Bytes

Contents

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 { |t|
        [
            t.lint_task_name,
            t.optimise_task_name,
            t.idiomise_task_name,
            t.format_task_name,
            t.pedantise_task_name
        ]
      }

      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

27 entries across 27 versions & 1 rubygems

Version Path
rake_leiningen-0.33.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.33.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.32.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.31.0.pre.4 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.31.0.pre.3 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.31.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.31.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.30.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.29.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.28.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.27.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.26.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.25.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.24.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.23.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.23.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.22.0 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.21.0.pre.2 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.21.0.pre.1 lib/rake_leiningen/tasks/check.rb
rake_leiningen-0.20.0 lib/rake_leiningen/tasks/check.rb