Sha256: a63fb1c6e1163ae08987522af8e779d28edb2277750a401f6e206b236a85089a

Contents?: true

Size: 565 Bytes

Versions: 21

Compression:

Stored size: 565 Bytes

Contents

require "bundler/gem_tasks"
require 'cane/rake_task'
require 'tailor/rake_task'

desc "Run cane to check quality metrics"
Cane::RakeTask.new do |cane|
  cane.canefile = './.cane'
end

Tailor::RakeTask.new

desc "Display LOC stats"
task :stats do
  puts "\n## Production Code Stats"
  sh "countloc -r lib"
end

desc "Run all quality tasks"
task :quality => [:cane, :tailor, :stats]

task :default => [:quality]

begin
  require 'kitchen/rake_tasks'
  Kitchen::RakeTasks.new
rescue LoadError
  puts ">>>>> Kitchen gem not loaded, omitting tasks" unless ENV['CI']
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
kitchen-docker-2.4.0 Rakefile
kitchen-docker-2.3.0 Rakefile
kitchen-docker-2.2.0 Rakefile
kitchen-docker-2.1.0 Rakefile
kitchen-docker-2.0.0 Rakefile
kitchen-docker-1.7.0 Rakefile
kitchen-docker-1.6.0 Rakefile
kitchen-docker-1.5.0 Rakefile
kitchen-docker-1.4.0 Rakefile
kitchen-docker-1.3.1 Rakefile
kitchen-docker-api-0.4.0 Rakefile
kitchen-docker-1.2.1 Rakefile
kitchen-docker-1.2.0 Rakefile
kitchen-docker-api-0.3.0 Rakefile
kitchen-docker-1.1.0.beta Rakefile
kitchen-docker-1.0.0 Rakefile
kitchen-docker-api-0.2.2 Rakefile
kitchen-docker-api-0.2.1 Rakefile
kitchen-docker-api-0.2.0 Rakefile
kitchen-docker-1.0.0.beta Rakefile