Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1d7aa7a

Browse files
Merge branch 'master' into eugene-matvejev-patch-2
2 parents a0d6ba9 + 2084ba2 commit 1d7aa7a

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

‎README.md‎

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,16 @@
1010
[![composer.lock](https://poser.pugx.org/eugene-matvejev/css-compiler/composerlock)](https://packagist.org/packages/eugene-matvejev/css-compiler)
1111

1212

13-
# PHP CSS Compiler
13+
# PHP CSS compiler with composer handler
1414
_can be triggered from composer's script's section: compiles SCSS with compass|LESS_
1515

16-
# How to use:
17-
```
18-
composer require "eugene-matvejev/css-compiler"
19-
```
16+
## how to use
17+
`composer require eugene-matvejev/css-compiler`
2018

21-
### add callback into into composer's __scripts__:
22-
```
23-
"EM\\CssCompiler\\ScriptHandler::generateCSS"
24-
```
25-
_example_:
19+
### add callback into into composer's __scripts__
20+
`"EM\\CssCompiler\\ScriptHandler::generateCSS"`
21+
22+
_example_
2623
```
2724
"scripts": {
2825
"post-update-cmd": "@custom-events",
@@ -32,12 +29,13 @@ _example_:
3229
]
3330
}
3431
```
32+
3533
### add _css-compiler_ information inside of the _extra_ composer configuration
3634
* _format_: compression format
3735
* _input_: array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
38-
* _output_: relative file path to the composer.json, where to save output (hard-copy)
36+
* _output_: relative file path to the composer.json, where to save output (hard-copy)
3937

40-
_example_:
38+
_example_
4139
```
4240
"extra": {
4341
"css-compiler": [

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /