Sha256: 32bb03140be77f5e3a2848b732eb30295c5d1fe623d31297a138afdeb98d53a7
Contents?: true
Size: 744 Bytes
Versions: 26
Compression:
Stored size: 744 Bytes
Contents
require 'rubygems' require 'rake' require 'rake/testtask' require 'rake/packagetask' require 'rubygems/package_task' require 'rspec/core/rake_task' require 'spree/core/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
26 entries across 26 versions & 2 rubygems