diff --git a/.travis.yml b/.travis.yml index 97dda12..8353067 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ php: - "5.5" - "5.6" - "7.0" + - "7.1" - "hhvm" before_script: diff --git a/README.md b/README.md index 2bc5b87..b550fe1 100644 --- a/README.md +++ b/README.md @@ -10,19 +10,16 @@ [![composer.lock](https://poser.pugx.org/eugene-matvejev/css-compiler/composerlock)](https://packagist.org/packages/eugene-matvejev/css-compiler) -# PHP CSS Compiler +# PHP CSS compiler with composer handler _can be triggered from composer's script's section: compiles SCSS with compass|LESS_ -# How to use: -``` -composer require "eugene-matvejev/css-compiler" -``` +## how to use +`composer require eugene-matvejev/css-compiler` -### add callback into into composer's __scripts__: -``` -"EM\\CssCompiler\\ScriptHandler::generateCSS" -``` -_example_: +### add callback into into composer's __scripts__ +`"EM\\CssCompiler\\ScriptHandler::generateCSS"` + +_example_ ``` "scripts": { "post-update-cmd": "@custom-events", @@ -32,12 +29,13 @@ _example_: ] } ``` + ### add _css-compiler_ information inside of the _extra_ composer configuration * _format_: compression format * _input_: array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory - * _output_: relative file path to the composer.json, where to save output (hard-copy) + * _output_: relative file path to the composer.json, where to save output (hard-copy) -_example_: +_example_ ``` "extra": { "css-compiler": [ diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..d34193f --- /dev/null +++ b/circle.yml @@ -0,0 +1,15 @@ +machine: + php: + version: 7.1.0 + +dependencies: + cache_directories: + - ~/.composer/cache + override: + - composer install --no-progress --no-interaction + +test: + override: + - phpunit -c . + post: + - bash <(curl -s https://codecov.io/bash) -t eaad9275-9810-4190-bd1e-55cb0f5a8899 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy