diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-18 11:18:37 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2011-04-18 11:18:37 +0200 |
commit | 3e335923161b4074cb048b2a828b0588fcf98b16 (patch) | |
tree | 8738c506144635aab879f2124118b14a68440cc8 /railties/lib | |
parent | 39372964d245ba7077515a698eaf71cb534800fe (diff) | |
download | rails-3e335923161b4074cb048b2a828b0588fcf98b16.tar.gz rails-3e335923161b4074cb048b2a828b0588fcf98b16.tar.bz2 rails-3e335923161b4074cb048b2a828b0588fcf98b16.zip |
Add description to assets:precompile such that it shows up in rake -T
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/tasks/assets.rake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/assets.rake b/railties/lib/rails/tasks/assets.rake index 396ce728a1..9ed697f142 100644 --- a/railties/lib/rails/tasks/assets.rake +++ b/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 |