Sha256: a27bd4d4de7e4665510a43c32e5188d6b90d5b1f40706ffb10e99880c4226460

Contents?: true

Size: 596 Bytes

Versions: 3

Compression:

Stored size: 596 Bytes

Contents

#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'cucumber/rake/task'
require 'rspec/core/rake_task'

task :clear_coverage do
  code_coverage_directory = "#{File.dirname(__FILE__)}/coverage"

  FileUtils.remove_dir(code_coverage_directory, true)
end

desc 'Run all acceptance tests for the gem'
Cucumber::Rake::Task.new(:tests)

desc 'Run all API specifications for the gem'
RSpec::Core::RakeTask.new(:specs)

desc 'Run All The Things'
task :everything => :clear_coverage do
  Rake::Task[:specs].invoke
  Rake::Task[:tests].invoke
end

task :default => :everything

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber_analytics-1.4.0 Rakefile
cucumber_analytics-1.3.0 Rakefile
cucumber_analytics-1.2.0 Rakefile