Sha256: 947c370fb0fcbc3bbae1299af4ff1028b3ce13d81c98870ff4cdc2460c93be22
Contents?: true
Size: 731 Bytes
Versions: 3
Compression:
Stored size: 731 Bytes
Contents
require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'rubygems/package_task' require 'rspec/core/rake_task' require 'spree/testing_support/common_rake' Bundler::GemHelper.install_tasks RSpec::Core::RakeTask.new spec = eval(File.read('spree_backend.gemspec')) Gem::PackageTask.new(spec) do |p| p.gem_spec = spec end desc "Release to gemcutter" task :release do version = File.read(File.expand_path("../../SPREE_VERSION", __FILE__)).strip cmd = "cd pkg && gem push spree_backend-#{version}.gem"; puts cmd; system cmd end task :default => :spec desc "Generates a dummy app for testing" task :test_app do ENV['LIB_NAME'] = 'spree/backend' Rake::Task['common:test_app'].invoke end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-3.0.7 | Rakefile |
spree_backend-3.0.6.1 | Rakefile |
spree_backend-3.0.6 | Rakefile |