Sha256: 0e20d8b4d506fbf4e7c59c5be608de772811933c5e8971a2180df49f5d392a03
Contents?: true
Size: 1.25 KB
Versions: 5
Compression:
Stored size: 1.25 KB
Contents
require "bundler" Bundler.setup require "rake" require "rspec/core/rake_task" $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) require "openstudio/analysis/version" task :gem => :build task :build do system "gem build openstudio-analysis.gemspec" end desc "build and install gem locally" task :install => :build do system "gem install openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem --no-ri --no-rdoc" end task :release => :build do system "git tag -a v#{OpenStudio::Analysis::VERSION} -m 'Tagging #{OpenStudio::Analysis::VERSION}'" system "git push --tags" system "gem push openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem" system "rm openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem" end RSpec::Core::RakeTask.new("spec") do |spec| spec.pattern = "spec/**/*_spec.rb" end RSpec::Core::RakeTask.new('spec:progress') do |spec| spec.rspec_opts = %w(--format progress) spec.pattern = "spec/**/*_spec.rb" end task :default => :spec desc "import files from other repos" task :import_files do # tbd end desc "uninstall all openstudio-analysis gems" task :uninstall do system "gem uninstall openstudio-analysis -a" end desc "reinstall the gem (uninstall, build, and reinstall" task :reinstall => [:uninstall, :install]
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
openstudio-analysis-0.1.4 | Rakefile |
openstudio-analysis-0.1.3 | Rakefile |
openstudio-analysis-0.1.2 | Rakefile |
openstudio-analysis-0.1.1 | Rakefile |
openstudio-analysis-0.1 | Rakefile |