icingaweb2/library/vendor/lessphp/tests
Jannis Moßhammer 66b8f70e3e Add vendor libraries
we use the following vendor libraries:
- Markdown.php for on-the-fly creation of documentation
- htmlpurifier for sane HTML output
- lessphp for on-the-fly creation of css out of less files
- tcpdf for pdf generation in the backend

refs #4212
2013-06-03 15:37:30 +02:00
..
inputs Add vendor libraries 2013-06-03 15:37:30 +02:00
outputs Add vendor libraries 2013-06-03 15:37:30 +02:00
ApiTest.php Add vendor libraries 2013-06-03 15:37:30 +02:00
InputTest.php Add vendor libraries 2013-06-03 15:37:30 +02:00
README.md Add vendor libraries 2013-06-03 15:37:30 +02:00
bootstrap.sh Add vendor libraries 2013-06-03 15:37:30 +02:00
sort.php Add vendor libraries 2013-06-03 15:37:30 +02:00

README.md

lessphp uses phpunit for it's tests

InputTest.php iterates through all the less files in inputs/, compiles them, then compares the result with the respective file in outputs/.

From the root you can run make to run all the tests.

bootstrap.sh

Clones twitter bootsrap, compiles it with lessc and lessphp, cleans up results with sort.php, and outputs diff. To run it, you need to have git and lessc installed.