Sha256: 5df5bb48597520b52f06c39c3366543afcfc4a1a4900bd9e695e48b843cb4123
Contents?: true
Size: 433 Bytes
Versions: 9
Compression:
Stored size: 433 Bytes
Contents
require "rake" require "bundler/gem_tasks" require "rspec/core/rake_task" task :default => :build task :build => :test desc "Runs all tests" task :test => :spec desc "Run all rspec tests" begin require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = "spec/**/*_spec.rb" end rescue LoadError => e raise e task :spec do $stderr.puts "Please install rspec: `gem install rspec`" end end
Version data entries
9 entries across 9 versions & 1 rubygems