Sha256: 5ac3e32cf80d19f9f4ca8ba9b21ed931353d1bc12e229cb7c127474e1b0ddcaa

Contents?: true

Size: 557 Bytes

Versions: 3

Compression:

Stored size: 557 Bytes

Contents

require "bundler"
Bundler.setup
Bundler::GemHelper.install_tasks

require "yard"
YARD::Rake::YardocTask.new

require "rspec/core/rake_task"
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec)

begin
  require "cane/rake_task"
  namespace :metric do
    desc "Analyze for code quality"
    Cane::RakeTask.new(:quality) do |cane|
      cane.abc_max = 27
      cane.no_doc = true
      cane.style_measure = 200
    end
  end
rescue LoadError
  warn "Cane is not available, metric:quality task not provided."
end

task :default => :spec
task :test => :spec

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
rubykiq-0.0.2 Rakefile
multi_mime-0.0.2 Rakefile
rubykiq-0.0.1 Rakefile