Sha256: f64bbaee3367403f8c2d31f2d56fc5fc05f869a4fb9b7d2945e8240c470a4956
Contents?: true
Size: 873 Bytes
Versions: 26
Compression:
Stored size: 873 Bytes
Contents
#!/usr/bin/env rake # encoding: utf-8 require 'rubygems' require 'bundler/setup' require 'rake' require 'vcr' require 'rspec' require 'rspec/core/rake_task' require 'rubygems/package_task' $LOAD_PATH.unshift File.expand_path('../lib', __FILE__) require 'locomotive/wagon' require 'locomotive/wagon/version' gemspec = eval(File.read('locomotivecms_wagon.gemspec')) Gem::PackageTask.new(gemspec) do |pkg| pkg.gem_spec = gemspec end desc 'build the gem and release it to rubygems.org' task release: :gem do sh "gem push pkg/locomotivecms_wagon-#{gemspec.version}.gem" end require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec') RSpec::Core::RakeTask.new('spec:unit') do |spec| spec.pattern = 'spec/unit/**/*_spec.rb' end RSpec::Core::RakeTask.new('spec:integration') do |spec| spec.pattern = 'spec/integration/**/*_spec.rb' end task default: :spec
Version data entries
26 entries across 26 versions & 1 rubygems