Sha256: 9cb4a17b1fe81fb35c3266e80ee447da0866e62c846346e20b422cbba0506e93

Contents?: true

Size: 486 Bytes

Versions: 1

Compression:

Stored size: 486 Bytes

Contents

require "bundler/gem_tasks"
require 'cane/rake_task'
require 'rspec/core/rake_task'

ENV['coverage'] = 'true'

task default: :ci

desc "Run all test suites"
task ci: [:spec, :cane]

RSpec::Core::RakeTask.new

Cane::RakeTask.new do |cane|
  cane.add_threshold 'coverage/.last_run.json', :>=, 90
end

desc "Test deploying the demo plugin to a Vagrant box"
task :vagrant do
  system 'vagrant destroy -f'
  system 'vagrant up'
  system 'bin/whipped-cream deploy demo.rb 127.0.0.1:2222'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
whipped-cream-0.1.0 Rakefile