Sha256: 66174a64a7743e1f71e5a1c8e97cf6dc24be216d93367c25d41e2c9e56a69fa6

Contents?: true

Size: 584 Bytes

Versions: 15

Compression:

Stored size: 584 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = '-b'
  end

  task default: :spec
rescue LoadError
  $stderr.puts "rspec not available, spec task not provided"
end

begin
  require 'cane/rake_task'

  desc "Run cane to check quality metrics"
  Cane::RakeTask.new(:quality) do |cane|
    cane.abc_max    = 10
    cane.style_glob = "lib/**/*.rb"
    cane.no_doc     = true
  end

  task :default => :quality
rescue LoadError
  warn "cane not available, quality task not provided."
end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
ETL-1.1.1 Rakefile
ETL-1.1.0 Rakefile
spot-rate-0.5.0 Rakefile
spot-rate-0.4.0 Rakefile
spot-rate-0.2.0 Rakefile
spot-rate-0.1.0 Rakefile
multisert-0.0.5 Rakefile
multisert-0.0.4 Rakefile
toggle-1.0.0 Rakefile
ETL-1.0.0 Rakefile
ETL-1.0.0.rc Rakefile
toggle-1.0.0.rc Rakefile
multisert-0.0.3 Rakefile
multisert-0.0.2 Rakefile
multisert-0.0.1 Rakefile