Sha256: f2499a1435da66679ee5bc3b2b77b201d1ba88717ce3f35971a05d602f24ab51

Contents?: true

Size: 612 Bytes

Versions: 2

Compression:

Stored size: 612 Bytes

Contents

#!/usr/bin/env rake
require 'rubygems'
require 'bundler'
Bundler.setup :default, :test, :development

Bundler::GemHelper.install_tasks

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter '/test/'
    add_filter '/features/'
  end
end

require 'rake/testtask'

Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
  t.warning = true
end

desc 'runs the whole spinach suite'
task :spinach do
  ruby '-S spinach'
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)

task default: %i[test spinach rubocop]

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
api_navigator-0.0.1 Rakefile
hyperclient-0.9.0 Rakefile