Permalink
Browse files

Add description to assets:precompile such that it shows up in rake -T

  • Loading branch information...
1 parent 3937296 commit 3e335923161b4074cb048b2a828b0588fcf98b16 @dhh dhh committed Apr 18, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 railties/lib/rails/tasks/assets.rake
@@ -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

0 comments on commit 3e33592

Please sign in to comment.