Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony2 - Avoid assets:install copy to web scss

My SCSS files are being copied to /web folder when I'm using php app/console assets:install

I really need to do this due to vendor's bundles.

Basically, I need to avoid being copied all files that Assetic uses.

like image 377
YagoQuinoy Avatar asked Nov 10 '22 14:11

YagoQuinoy


1 Answers

If you use Symfony 2.6

# make a hard copy of the assets in web/
$ php app/console assets:install

# if possible, make absolute symlinks in web/ if not, make a hard copy
$ php app/console assets:install --symlink

# if possible, make relative symlinks in web/ if not, make a hard copy
$ php app/console assets:install --symlink --relative

from http://symfony.com/blog/new-in-symfony-2-6-smarter-assets-install-command

like image 161
Med Avatar answered Nov 15 '22 09:11

Med