Sha256: 5402601973635bee16048d953985b86e8cde42833a66a86102db5d4ff0688db4
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
require 'rake_factory' require_relative '../tasks/lint' require_relative '../tasks/optimise' require_relative '../tasks/idiomise' require_relative '../tasks/format' require_relative '../tasks/pedantise' require_relative '../tasks/check' module RakeLeiningen module TaskSets class Checks < RakeFactory::TaskSet parameter :argument_names, default: [] parameter :profile parameter :directory, default: '.' parameter :ensure_task_name, default: 'leiningen:ensure' 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 parameter :check_task_name, :default => :check task Tasks::Lint, name: ->(ts) { ts.lint_task_name } task Tasks::Optimise, name: ->(ts) { ts.optimise_task_name } task Tasks::Idiomise, name: ->(ts) { ts.idiomise_task_name } task Tasks::Format, name: ->(ts) { ts.format_task_name } task Tasks::Pedantise, name: ->(ts) { ts.pedantise_task_name } task Tasks::Check, name: ->(ts) { ts.check_task_name } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake_leiningen-0.6.0 | lib/rake_leiningen/task_sets/checks.rb |
rake_leiningen-0.5.0.pre.1 | lib/rake_leiningen/task_sets/checks.rb |