File: Rakefile

package info (click to toggle)
ruby-sentry-rails 5.18.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 232 kB
  • sloc: ruby: 1,035; makefile: 7; sh: 4
file content (14 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require "bundler/gem_tasks"
require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec).tap do |task|
  task.rspec_opts = "--order rand"
end

task :isolated_specs do
  Dir["spec/isolated/*"].each do |file|
    sh "bundle exec ruby #{file}"
  end
end

task default: [:spec, :isolated_specs]