SIGN IN SIGN UP

Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.

0 0 0 Java
2022-08-22 13:11:15 -04:00
# frozen_string_literal: true
require 'rake/testtask'
require 'rspec/core/rake_task'
require 'rubocop'
require 'rubocop/rake_task'
require 'rubocop-rake'
2022-08-22 13:11:15 -04:00
task default: [:spec]
Rake::TestTask.new do |t|
t.pattern = '*/**/tests/test_*.rb'
t.verbose = true
t.warning = false
end
desc 'Run specs.'
RSpec::Core::RakeTask.new do |t|
t.pattern = '*/**/*_spec.rb'
t.rspec_opts = ['--tag', 'integ', '--tag', '~@quarantine']
end
desc 'Run rubocop'
RuboCop::RakeTask.new(:rubocop) do |t|
t.options = ['--config', '../.github/linters/.ruby-lint.yml']
t.requires << 'rubocop-rake'
2022-08-22 11:37:11 -04:00
end