File: Rakefile

package info (click to toggle)
ruby-clamp 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: ruby: 3,824; sh: 69; makefile: 4
file content (24 lines) | stat: -rw-r--r-- 570 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

require "bundler"

Bundler::GemHelper.install_tasks

require "rspec/core/rake_task"

RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = "spec/**/*_spec.rb"
  t.exclude_pattern = "spec/**/*_integration_spec.rb"
  t.rspec_opts = ["--colour", "--format", "documentation"]
end

RSpec::Core::RakeTask.new(:integration) do |t|
  t.pattern = "spec/**/*_integration_spec.rb"
  t.rspec_opts = ["--colour", "--format", "documentation"]
end

require "rubocop/rake_task"

RuboCop::RakeTask.new

task "default" => ["spec", "integration", "rubocop"]