mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add description to assets:precompile such that it shows up in rake -T
This commit is contained in:
parent
39372964d2
commit
3e33592316
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
namespace :assets do
|
||||
task :compile => :environment do
|
||||
desc "Compile all the assets named in config.assets.precompile"
|
||||
task :precompile => :environment do
|
||||
assets = Rails.application.config.assets.precompile
|
||||
Rails.application.assets.precompile(*assets)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue