Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Dump Assetic files to latest release directory

  • Loading branch information...
commit ae19c12110892cc0a4d2ecc492bb355e2492f177 1 parent dffab3a
@tobiassjosten tobiassjosten authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/symfony2/symfony.rb
View
2  lib/symfony2/symfony.rb
@@ -56,7 +56,7 @@
task :dump, :roles => :app, :except => { :no_release => true } do
capifony_pretty_print "--> Dumping all assets to the filesystem"
- run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} assetic:dump --env=#{symfony_env_prod} --no-debug'"
+ run "#{try_sudo} sh -c 'cd #{latest_release} && #{php_bin} #{symfony_console} assetic:dump --env=#{symfony_env_prod} --no-debug #{latest_release}/#{web_path}'"
capifony_puts_ok
end
end

1 comment on commit ae19c12

@lmammino

This breaks the write_to configuration of assetic (because it forces to use a given path)

Suppose you are using a CDN or have a customized write_to setting... this would break the deploy.

Please sign in to comment.
Something went wrong with that request. Please try again.