Sha256: 246ffcfe5bdedcd12434d9b573a4f7c9f1ca5e949a8353a57629a662747253dc
Contents?: true
Size: 439 Bytes
Versions: 1
Compression:
Stored size: 439 Bytes
Contents
require 'rake' require 'rake/testtask' require 'rspec/core/rake_task' task :default=>[:test] desc "Run all spec tests" RSpec::Core::RakeTask.new('test') do |t| t.pattern = ['test/spec/*_spec.rb'] t.rspec_opts = "-fd -c" end desc "Run all spec tests and generate a coverage report" task :coverage do ENV['COVERAGE'] = 'true' Rake::Task['test'].invoke `open coverage/index.html` if RUBY_PLATFORM.downcase.include?("darwin") end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-scaffolder-0.0.3 | lib/template/Rakefile |