forked from LBNL-ETA/OpenStudio-Occupant-Variability-Gem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
30 lines (20 loc) · 679 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
require 'rubocop/rake_task'
RuboCop::RakeTask.new
# Load in the rake tasks from the base openstudio-extension gem
require 'openstudio/extension/rake_task'
require 'openstudio/occupant_variability'
require 'openstudio-standards'
os_extension = OpenStudio::Extension::RakeTask.new
os_extension.set_extension_class(OpenStudio::OccupantVariability::OccupantVariability)
# User defined tasks
desc 'Try to run some tests'
task :run_test do
puts 'This is a test rake task...'
name = 'Occupancy Simulator Test...'
puts name
end
task :run_all => [:run_test]
task default: :run_all