-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
33 lines (27 loc) · 667 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# frozen_string_literal: true
require "bundler/gem_tasks"
require "rake/testtask"
require "rubocop/rake_task"
require "yard"
Rake::TestTask.new do |t|
t.pattern = "brutal/feen/test_*.rb"
t.verbose = true
t.warning = true
end
RuboCop::RakeTask.new do |task|
task.requires << "rubocop-gitlab-security"
task.requires << "rubocop-md"
task.requires << "rubocop-performance"
task.requires << "rubocop-rake"
task.requires << "rubocop-thread_safety"
end
YARD::Rake::YardocTask.new
Dir["tasks/**/*.rake"].each { |t| load t }
task default: %i[
generate_rubocop_yaml
yard
test
brutal_test_generation
brutal_test_execution
rubocop:autocorrect
]