Sha256: f4361a0430e8921c2458b26a0d11edd0374350b4e25529f2800b6adad7b8989d

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

begin
  require "spec/rake/spectask"  # RSpec 1.3

  desc 'Run all specs in spec directory.'
  Spec::Rake::SpecTask.new(:spec) do |task|
    task.libs = ['lib', 'spec']
    task.spec_files = FileList['spec/**/*_spec.rb']
  end
rescue LoadError
  require "rspec/core/rake_task" # RSpec 2.0

  desc 'Run all specs in spec directory.'
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = %w{--colour --format progress}
    t.pattern = 'spec/**/*_spec.rb'
  end  
end

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dimelo_ccp_api-0.5.0 Rakefile
dimelo_ccp_api-0.4.4 Rakefile
dimelo_ccp_api-0.4.3 Rakefile
dimelo_ccp_api-0.4.2 Rakefile
dimelo_ccp_api-0.4.1 Rakefile