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