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

Version Path
spree_api-3.0.7 Rakefile
spree_api-3.0.6.1 Rakefile
spree_api-3.0.6 Rakefile
spree_api-3.0.5 Rakefile
spree_api-3.0.4 Rakefile
spree_api-2.4.10 Rakefile
spree_api-2.3.13 Rakefile
spree_api-2.2.14 Rakefile
spree_api-3.0.3 Rakefile
spree_api-2.4.9 Rakefile
spree_api-2.3.12 Rakefile
spree_api-2.2.13 Rakefile
spree_api-3.0.2 Rakefile
spree_api-2.4.8 Rakefile
spree_api-2.3.11 Rakefile
spree_api-2.2.12 Rakefile
spree_api-3.0.1 Rakefile
spree_api-2.4.7 Rakefile
spree_api-2.3.10 Rakefile
spree_api-3.0.0 Rakefile