almost worked... but a couple explosions...
assets:
some_coffee:
inputs: '@DrolletteDemoBundle/Resources/public/js/test.coffee'
filters: coffee
filters:
coffee:
apply_to: "\.coffee$"
yui_js:
jar: "%kernel.root_dir%/Resources/java/yuicompressor.jar"
{% javascripts
'@some_coffee' '@DrolletteDemoBundle/Resources/public/js/test.js'
output='js/all.js'
filter='yui_js' %}
running assetic:dump gives a long wait then Segmentation fault:
$ app/console assetic:dump --env=dev
Segmentation fault
If i get rid of the new "assets" option all together and just put that
source right in twig like usual then I get this when using --watch ..
running without watch runs successfully but doesn't seem to use the apply_to
rule, ie. it still tries to run coffee on the .js files.
app/console assetic:dump --env=dev --watch
PHP Warning: Illegal offset type in isset or empty in
/var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php
on line 52
PHP Warning: Illegal offset type in isset or empty in
/var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/Factory/LazyAssetManager.php
on line 166
PHP Warning: Illegal offset type in isset or empty in
/var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php
on line 36
PHP Catchable fatal error: Object of class Assetic\Asset\AssetCollection
could not be converted to string in
/var/www/Symfony/vendor/symfony/vendor/assetic/src/Assetic/AssetManager.php
on line 37
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en