1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/tasks/dev.rake

12 lines
340 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "rails/command"
require "active_support/deprecation"
namespace :dev do
task cache: :environment do
ActiveSupport::Deprecation.warn("Using `bin/rake dev:cache` is deprecated and will be removed in Rails 6.1. Use `bin/rails dev:cache` instead.\n")
Rails::Command.invoke "dev:cache"
end
end