File: Rakefile

package info (click to toggle)
ruby-sentry-ruby 5.18.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 564 kB
  • sloc: ruby: 4,701; makefile: 8; sh: 4
file content (20 lines) | stat: -rw-r--r-- 450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require "rake/clean"
CLOBBER.include "pkg"

require "bundler/gem_helper"
Bundler::GemHelper.install_tasks(name: "sentry-ruby")

require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec).tap do |task|
  task.rspec_opts = "--order rand"
  task.exclude_pattern = "spec/isolated/**/*_spec.rb"
end

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

task default: [:spec, :isolated_specs]