forked from AgilTec/spree_variant_options
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
41 lines (33 loc) · 909 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# # encoding: UTF-8
# require 'rubygems'
# begin
# require 'bundler/setup'
# rescue LoadError
# puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
# end
# #require 'rake'
# require 'rake/testtask'
# Bundler::GemHelper.install_tasks
# Rake::TestTask.new(:test) do |t|
# t.libs << 'lib'
# t.libs << 'test'
# t.pattern = 'test/**/*_test.rb'
# t.verbose = false
# end
# require 'cucumber/rake/task'
# Cucumber::Rake::Task.new do |t|
# t.cucumber_opts = %w{--format pretty}
# end
# task :default => [ :test, :cucumber ]
require 'rubygems'
require 'rake'
require 'rake/testtask'
require 'rake/packagetask'
require 'rubygems/package_task'
require 'spree/testing_support/extension_rake'
desc 'Generates a dummy app for testing'
task :test_app do
ENV['LIB_NAME'] = 'spree_variant_options'
Rake::Task['extension:test_app'].invoke
end
Bundler::GemHelper.install_tasks