icingaweb2/library/vendor/lessphp/tests/README.md
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

13 lines
472 B
Markdown

lessphp uses [phpunit](https://github.com/sebastianbergmann/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.