Sha256: 4be89598c5d9f93bbcc027b873bff48b8f168e02c68e3749747c3da1b856147e

Contents?: true

Size: 518 Bytes

Versions: 21

Compression:

Stored size: 518 Bytes

Contents

require "rspec/core/rake_task"
require "rake/testtask"

RSpec::Core::RakeTask.new(:spec)
task default: [:ci]

desc 'Run specs in isolation'
task :"spec:isolation" do
  FileList["spec/**/*_spec.rb"].each do |spec|
    sh "rspec", spec
  end
end

desc "Run CI tasks"
task ci: [:spec, :lint, :"spec:isolation"]

Rake::TestTask.new(:lint) do |test|
  test.description = "Run adapter lint tests against memory adapter"
  test.test_files = FileList.new('spec/test/*_test.rb')
  test.libs << 'test'
  test.verbose = true
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
rom-2.0.1 Rakefile
rom-2.0.0 Rakefile
rom-1.0.0 Rakefile
rom-1.0.0.rc1 Rakefile
rom-1.0.0.beta2 Rakefile
rom-1.0.0.beta1 Rakefile
rom-0.9.1 Rakefile
rom-0.9.0 Rakefile
rom-0.9.0.rc1 Rakefile
rom-0.9.0.beta1 Rakefile
rom-0.8.1 Rakefile
rom-0.8.0 Rakefile
rom-0.7.1 Rakefile
rom-0.7.0 Rakefile
rom-0.6.2 Rakefile
rom-0.6.1 Rakefile
rom-0.6.0 Rakefile
rom-0.6.0.rc1 Rakefile
rom-0.6.0.beta3 Rakefile
rom-0.6.0.beta2 Rakefile