You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
423 B
16 lines
423 B
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
|
|
require_relative 'config/application'
|
|
Rails.application.load_tasks
|
|
|
|
begin
|
|
require 'rspec/core/rake_task'
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
task(:default).clear
|
|
task default: :spec
|
|
rescue LoadError => e
|
|
raise e unless ENV['RAILS_ENV'] == 'production'
|
|
end
|