Sha256: 995e7e137175ab58199c5453d101944a06953d0627a1f68cc4ba6334fc9d9067
Contents?: true
Size: 624 Bytes
Versions: 2
Compression:
Stored size: 624 Bytes
Contents
module CapistranoDeploy module RailsAssets def self.load_into(configuration) configuration.load do use_recipe :rails namespace :deploy do namespace :assets do desc 'Precompile assets' task :precompile do run "cd #{deploy_to} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:precompile" end desc 'Clean assets' task :clean do run "cd #{deploy_to} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:clean" end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capistrano-deploy-0.3.2 | lib/capistrano-deploy/rails_assets.rb |
capistrano-deploy-0.3.1 | lib/capistrano-deploy/rails_assets.rb |