Sha256: 1ab51919867546b4beb78e6461f1cbc3a5c2e92002d77ce97b3b0000aa709e13

Contents?: true

Size: 898 Bytes

Versions: 1

Compression:

Stored size: 898 Bytes

Contents

# *********************************************************************************
# URBANopt (tm), Copyright (c) Alliance for Sustainable Energy, LLC.
# See also https://github.com/urbanopt/urbanopt-scenario-gem/blob/develop/LICENSE.md
# *********************************************************************************

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

# Load in the rake tasks from the base extension gem
require 'openstudio/extension/rake_task'
require 'urbanopt/scenario'
rake_task = OpenStudio::Extension::RakeTask.new
rake_task.set_extension_class(URBANopt::Scenario::Extension, 'urbanopt/urbanopt-scenario-gem')

require 'rubocop/rake_task'
RuboCop::RakeTask.new

task :clear_all do
  Dir.glob(File.join(File.dirname(__FILE__), '/spec/test/example_scenario/*')).each do |f|
    FileUtils.rm_rf(f)
  end
end

task default: :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urbanopt-scenario-0.11.0 Rakefile