capistrano-lazy-assets 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ configuration.load do
|
|
8
8
|
namespace :deploy do
|
9
9
|
namespace :assets do
|
10
10
|
task :precompile, :roles => :web, :except => { :no_release => true } do
|
11
|
-
|
11
|
+
run 'ls -lah'
|
12
12
|
from = source.next_revision(current_revision)
|
13
13
|
if capture("cd #{latest_release} && #{source.local.log(from)} app/assets/ | wc -l").to_i > 0
|
14
14
|
run %Q{cd #{latest_release} && #{rake} RAILS_ENV=#{rails_env} #{asset_env} assets:precompile}
|