Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (25 sloc) 0.711 kb
3745458 @fabien Initial commit
authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/packagetask'
4 require 'rubygems/package_task'
5 require 'rspec/core/rake_task'
6 require 'cucumber/rake/task'
7 require 'spree_core/testing_support/common_rake'
8
9 RSpec::Core::RakeTask.new
10 Cucumber::Rake::Task.new
11
12 task :default => [:spec, :cucumber ]
13
14 spec = eval(File.read('spree_clearance.gemspec'))
15
16 Gem::PackageTask.new(spec) do |p|
17 p.gem_spec = spec
18 end
19
20 desc "Release to gemcutter"
21 task :release => :package do
22 require 'rake/gemcutter'
23 Rake::Gemcutter::Tasks.new(spec).define
24 Rake::Task['gem:push'].invoke
25 end
26
27 desc "Generates a dummy app for testing"
28 task :test_app do
29 ENV['LIB_NAME'] = 'spree_clearance'
30 Rake::Task['common:test_app'].invoke
31 end
Something went wrong with that request. Please try again.