Sha256: 852427937db9ad11746b5574c00cbd73c2a3b5f1dc7d818ca3121b5bebf7b000
Contents?: true
Size: 955 Bytes
Versions: 26
Compression:
Stored size: 955 Bytes
Contents
require 'bundler' Bundler.setup require 'rspec/core/rake_task' # Always create spec reports require 'ci/reporter/rake/rspec' # Gem tasks require 'bundler/gem_tasks' RSpec::Core::RakeTask.new('spec:unit') do |spec| spec.rspec_opts = %w(--format progress) spec.pattern = FileList['spec/openstudio/**/*_spec.rb'] end RSpec::Core::RakeTask.new('spec:integration') do |spec| spec.rspec_opts = %w(--format progress) spec.pattern = FileList['spec/integration/**/*_spec.rb'] end task 'spec:unit' => 'ci:setup:rspec' task 'spec:integration' => 'ci:setup:rspec' task default: 'spec:unit' require 'rubocop/rake_task' desc 'Run RuboCop on the lib directory' RuboCop::RakeTask.new(:rubocop) do |task| task.options = ['--no-color', '--out=rubocop-results.xml'] task.formatters = ['RuboCop::Formatter::CheckstyleFormatter'] task.requires = ['rubocop/formatter/checkstyle_formatter'] # don't abort rake on failure task.fail_on_error = false end
Version data entries
26 entries across 26 versions & 1 rubygems