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

Version Path
spree_api-1.3.5 Rakefile
spree_api-1.3.4 Rakefile
spree_api-1.3.3 Rakefile
spree_api-1.2.5 Rakefile
spree_api-1.1.6 Rakefile
spree_api-1.1.5 Rakefile
spree_api-1.2.4 Rakefile
spree_api-1.3.2 Rakefile
spree_api-1.2.3 Rakefile
spree_api-1.3.1 Rakefile
spree_api-1.3.0 Rakefile
spree_api-1.3.0.rc2 Rakefile
dup_spree_api-1.3.0.rc1 Rakefile
spree_api-1.3.0.rc1 Rakefile
spree_api-1.2.2 Rakefile
spree_api-1.1.4 Rakefile
spree_api-1.2.0 Rakefile
spree_api-1.2.0.rc2 Rakefile
spree_api-1.2.0.rc1 Rakefile
spree_api-1.1.3 Rakefile