From 9652c5ee8462f608c19fe4f0a0634408d239cf1b Mon Sep 17 00:00:00 2001 From: Eugene Matvejev Date: Tue, 14 Jun 2016 17:53:55 +0300 Subject: [PATCH] Update README.md --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ca3ba8d..5b5ad30 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,8 @@ -# css-compiler -compiles SASS/LESS and Compass, available though Composer - +# CSS Compiler +* can be triggered from composer's script's session: compiles LESS/SASS/Compass # How to use: -add into composer __scripts__ directory: +1. add into composer __scripts__ directory: ``` "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS" ``` @@ -18,9 +17,7 @@ example: ] }, ``` - -##how to trigger -add _css-compiler_ information inside of the _extra_ composer configuration +2. add _css-compiler_ information inside of the _extra_ composer configuration ``` "css-compiler": [ { @@ -46,7 +43,8 @@ add _css-compiler_ information inside of the _extra_ composer configuration } ] ``` -where: + +#legend _format_: compression format _input_: array of routes, all files inside of the route if it is directory will be picked up _output_: file where it should put content (hard-copy)