Sha256: 5344fdf89c4a30bc67da1a2ef8ca1070204cac4a7b228c9d499d320802cb831a

Contents?: true

Size: 802 Bytes

Versions: 7

Compression:

Stored size: 802 Bytes

Contents

#!/usr/bin/env rake
begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

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

require 'yard'
YARD::Config.load_plugin('yard-tomdoc')
YARD::Rake::YardocTask.new do |t|
  t.files   = ['lib/**/*.rb']
  t.options = %w(-r README.md)
end

Bundler::GemHelper.install_tasks

require 'rake/testtask'

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

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

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

task default: [:rubocop, :test, :spinach]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyperclient-0.8.1 Rakefile
hyperclient-0.8.0 Rakefile
hyperclient-0.7.2 Rakefile
hyperclient-0.7.1 Rakefile
hyperclient-0.7.0 Rakefile
hyperclient-0.6.1 Rakefile
hyperclient-0.5.0 Rakefile