Sha256: 0d291c68c696b62fa8809b0a867d1cef8b56407b1f816f01bff15066016d5844
Contents?: true
Size: 590 Bytes
Versions: 17
Compression:
Stored size: 590 Bytes
Contents
begin require "bundler/gem_tasks" rescue LoadError system "gem install bundler" system "bundle install" end # Adds bundler tasks Bundler::GemHelper.install_tasks # Adds RSpec tasks. require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) # Adds dummy:db tasks. load "spec/dummy/Rakefile" # Declares gem's own tasks. desc "Runs test suite." task default: %w(dummy:db:migrate dummy:db:reset) do system "bundle exec rspec spec" end desc "Runs code metrics." task :check do system "coveralls report" system "rubocop" system "inch --pedantic" system "metric_fu" end
Version data entries
17 entries across 17 versions & 1 rubygems