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

Version Path
openstudio-analysis-1.0.0.rc19 Rakefile
openstudio-analysis-1.0.0.rc18 Rakefile
openstudio-analysis-1.0.0.rc17 Rakefile
openstudio-analysis-1.0.0.rc16 Rakefile
openstudio-analysis-1.0.0.rc15 Rakefile
openstudio-analysis-1.0.0.rc14 Rakefile
openstudio-analysis-1.0.0.rc13 Rakefile
openstudio-analysis-1.0.0.rc12 Rakefile
openstudio-analysis-1.0.0.rc11 Rakefile
openstudio-analysis-1.0.0.rc10 Rakefile
openstudio-analysis-1.0.0.rc9 Rakefile
openstudio-analysis-1.0.0.rc8 Rakefile
openstudio-analysis-1.0.0.rc7 Rakefile
openstudio-analysis-1.0.0.rc6 Rakefile
openstudio-analysis-1.0.0.pre.rc5 Rakefile
openstudio-analysis-1.0.0.pre.rc4 Rakefile
openstudio-analysis-1.0.0.pre.rc3 Rakefile
openstudio-analysis-1.0.0.pre.rc2 Rakefile
openstudio-analysis-1.0.0.pat2 Rakefile
openstudio-analysis-1.0.0.pat1 Rakefile