Skip to content

Commit 3d440d4

Browse files
author
Eugene Matvejev
authoredJun 19, 2016
Merge pull request #26 from learn-symfony/eugene-matvejev-patch-1
Update README.md
2 parents e997ab8 + 9223e90 commit 3d440d4

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed
 

‎README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ composer require "eugene-matvejev/css-compiler"
1414
if you have problem with min-stability you can use this solution in '_require(-dev)_':
1515
_example_:
1616
```
17+
"require": {
1718
"eugene-matvejev/css-compiler": "^0.1",
1819
"leafo/scssphp-compass": "@dev",
19-
"leafo/scssphp": "@dev",
20+
"leafo/scssphp": "@dev"
21+
}
2022
```
2123

2224
### add callback into into composer's __scripts__:
@@ -25,13 +27,13 @@ _example_:
2527
```
2628
_example_:
2729
```
28-
"scripts": {
29-
"post-update-cmd": "@custom-events",
30-
"post-install-cmd": "@custom-events",
31-
"custom-events": [
32-
"EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
33-
]
34-
},
30+
"scripts": {
31+
"post-update-cmd": "@custom-events",
32+
"post-install-cmd": "@custom-events",
33+
"custom-events": [
34+
"EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
35+
]
36+
}
3537
```
3638
### add _css-compiler_ information inside of the _extra_ composer configuration
3739
* _format_: compression format
@@ -40,6 +42,7 @@ _example_:
4042

4143
_example_:
4244
```
45+
"extra": {
4346
"css-compiler": [
4447
{
4548
"format": "compact",
@@ -63,4 +66,5 @@ _example_:
6366
"output": "var/cache/assets/compass.css"
6467
}
6568
]
69+
}
6670
```

0 commit comments

Comments
 (0)
Please sign in to comment.