aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/dev.rake
blob: 716fb6a331e0b72c108e1720e01128f425c3850f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
# 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