Skip to content

Commit cc63747

Browse files
author
Eugene Matvejev
authored
Update README.md
1 parent 366984f commit cc63747

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@
55

66

77
# PHP CSS Compiler
8-
_compiles SASS and LESS sources into CSS_
9-
_can be triggered from composer's script's session: compiles LESS/SASS/Compass_
8+
_can be triggered from composer's script's section: compiles LESS|SASS|Compass_
109

1110
# How to use:
1211
```
1312
composer require "eugene-matvejev/css-compiler"
1413
```
15-
### add into composer __scripts__ directory:
16-
```
17-
"EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
18-
```
19-
if you have problem with min-stability you can use this solution in '_require_' or '_require-dev_':
14+
if you have problem with min-stability you can use this solution in '_require(-dev)_':
15+
_example_:
2016
```
2117
"eugene-matvejev/css-compiler": "^0.1",
2218
"leafo/scssphp-compass": "@dev",
2319
"leafo/scssphp": "@dev",
2420
```
2521

22+
### add callback into into composer's __scripts__:
23+
```
24+
"EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
25+
```
2626
_example_:
2727
```
2828
"scripts": {
@@ -35,8 +35,8 @@ _example_:
3535
```
3636
### add _css-compiler_ information inside of the _extra_ composer configuration
3737
* _format_: compression format
38-
* _input_: array of routes, all files inside of the route if it is directory will be picked up
39-
* _output_: file where it should put content (hard-copy)
38+
* _input_: array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
39+
* _output_: relative file path to the composer.json, where to save output (hard-copy)
4040

4141
_example_:
4242
```

0 commit comments

Comments
 (0)