1
0
Fork 0
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:
David Heinemeier Hansson 2011-04-18 11:18:37 +02:00
parent 39372964d2
commit 3e33592316

View file

@ -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