forked from WinRb/winrm-elevated
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
27 lines (21 loc) · 694 Bytes
/
Rakefile
File metadata and controls
27 lines (21 loc) · 694 Bytes
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
require 'rubygems' unless defined?(Gem)
require 'bundler/setup'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'
require 'bundler/gem_tasks'
# Change to the directory of this file.
Dir.chdir(File.expand_path(__dir__))
RSpec::Core::RakeTask.new(:spec) do |task|
task.pattern = 'spec/*_spec.rb'
task.rspec_opts = ['--color', '-f documentation']
task.rspec_opts << '-tunit'
end
# Run the integration test suite
RSpec::Core::RakeTask.new(:integration) do |task|
task.pattern = 'spec/*_spec.rb'
task.rspec_opts = ['--color', '-f documentation']
task.rspec_opts << '-tintegration'
end
RuboCop::RakeTask.new
task default: %i[spec rubocop]
task all: %i[default integration]