Sha256: 4095f10dfdcba7ab904dedbc017990da8d70f6b837abd9c2f72bb8985180e4eb
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
# ******************************************************************************* # OpenStudio(R), Copyright (c) Alliance for Sustainable Energy, LLC. # See also https://openstudio.net/license # ******************************************************************************* 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 = ['--format', 'progress'] spec.pattern = FileList['spec/openstudio/**/*_spec.rb'] end RSpec::Core::RakeTask.new('spec:integration') do |spec| spec.rspec_opts = ['--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', '--format', 'simple'] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openstudio-analysis-1.3.5 | Rakefile |
openstudio-analysis-1.3.4 | Rakefile |