-
Notifications
You must be signed in to change notification settings - Fork 2
/
Rakefile
38 lines (27 loc) · 861 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
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
require 'engine_cart/rake_task'
# Bundler.require(*Rails.groups)
# Rails.application.load_tasks
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
Bundler::GemHelper.install_tasks
# task :ci => ['engine_cart:generate'] do
# run the tests
# end
# RSpec::Core::RakeTask.new(:spec)
# task :default => :spec
# RSpec::Core::RakeTask.new
# Set up the test application prior to running jasmine tasks.
task :setup_test_server do
require 'engine_cart'
EngineCart.load_application!
end
Dir.glob('tasks/*.rake').each { |r| import r }
Dir.glob('lib/tasks/*.rake').each { |r| import r }
task default: :ci