Sha256: 368877444a0e1f1a8fd652e9f45f8682bc8b6c92837cfe6b72baba4b90ecbcca

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

Rake::TestTask.new(:test) do |t|
  t.libs << "test"
  t.libs << "lib"
  t.test_files = FileList['test/**/*_test.rb']
end

namespace :test do
  task :coveralls do
    ENV["COVERALLS"] = "true"
    Rake::Task["test:coverage"].invoke
  end

  task :coverage do
    ENV["COVERAGE"] = "true"
    Rake::Task["test"].invoke
  end

  task :scrutinizer do
    ENV["SCRUTINIZER"] = "true"
    Rake::Task["test"].invoke
  end
end

task default: :test

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carrasco-0.1.6 Rakefile
carrasco-0.1.5 Rakefile
carrasco-0.1.4 Rakefile