This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bridge/Twig/README.md

24 lines
673 B
Markdown
Raw Normal View History

2011-11-03 20:29:55 +00:00
Twig Bridge
===========
2011-12-18 13:18:13 +00:00
Provides integration for [Twig](http://twig.sensiolabs.org/) with various
Symfony2 components.
2011-11-03 20:29:55 +00:00
Resources
---------
You can run the unit tests with the following command:
2011-11-03 20:29:55 +00:00
phpunit -c src/Symfony/Bridge/Twig/
If you also want to run the unit tests that depend on other Symfony
Components, declare the following environment variables before running
PHPUnit:
export TWIG=../path/to/Twig
export SYMFONY_EVENT_DISPATCHER=../path/to/EventDispatcher
2012-04-07 22:47:00 +01:00
export SYMFONY_FORM=../path/to/Form
export SYMFONY_LOCALE=../path/to/Locale
2012-04-07 22:47:00 +01:00
export SYMFONY_TEMPLATING=../path/to/Templating
export SYMFONY_TRANSLATION=../path/to/Translation