Sha256: 3d8a2713c94a31dda89ed4710be9c2592c5379cdb197bdd4e77b58a5c2b88112
Contents?: true
Size: 739 Bytes
Versions: 83
Compression:
Stored size: 739 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' require 'rails/all' Bundler::GemHelper.install_tasks RSpec::Core::RakeTask.new spec = eval(File.read('spree_api.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_api-#{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/api' Rake::Task['common:test_app'].invoke end
Version data entries
83 entries across 83 versions & 1 rubygems