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