Sha256: 542ea5fea9b50be0bd4ea46108173549ed7046d1317b76e0890d52fc208d6dea

Contents?: true

Size: 553 Bytes

Versions: 1

Compression:

Stored size: 553 Bytes

Contents

require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
# require 'rake/extensiontask'

# spec = Gem::Specification.load('calc.gemspec')

# Rake::ExtensionTask.new('calc', spec)

desc 'Default: run specs.'
task :default => :spec

desc "Run specs"
RSpec::Core::RakeTask.new do |t|
  t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
  # Put spec opts in a file named .rspec in root
end

desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
  t.pattern = "./spec/**/*_spec.rb" # don't need this, it's default.
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
calc-nik-0.0.4 Rakefile