hitobito_lit/Rakefile

21 lines
455 B
Text
Raw Permalink Normal View History

2022-12-20 16:26:37 +01:00
# frozen_string_literal: true
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
ENGINE_PATH = File.expand_path(__dir__)
load File.expand_path('app_root.rb', __dir__)
load 'wagons/wagon_tasks.rake'
load 'rspec/rails/tasks/rspec.rake'
require 'ci/reporter/rake/rspec' unless Rails.env.production?
HitobitoLit::Wagon.load_tasks
task 'test:prepare' => 'db:test:prepare'