Skip to content

Commit 6d488c7

Browse files
committed
Updated README
- Fixed path to parallel-lint binary - Removed setting for ANT (I think nobody uses it in 2018) - Other small changes
1 parent b5d24f5 commit 6d488c7

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

README.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ This tool checks syntax of PHP files faster than serial check with a fancier out
44

55
Running parallel jobs in PHP is inspired by Nette framework tests.
66

7-
## Install
7+
## Installation
88

99
Just run the following command to install it:
1010

1111
composer require --dev jakub-onderka/php-parallel-lint
1212

13-
For colored output install the suggested package `jakub-onderka/php-console-highlighter`:
13+
For colored output also install the suggested package `jakub-onderka/php-console-highlighter`:
1414

1515
composer require --dev jakub-onderka/php-console-highlighter
1616

@@ -44,27 +44,7 @@ For colored output install the suggested package `jakub-onderka/php-console-high
4444

4545
For run from command line:
4646

47-
48-
./bin/parallel-lint --exclude app --exclude vendor .
49-
50-
51-
or setting for ANT:
52-
53-
```xml
54-
<condition property="parallel-lint" value="${basedir}/bin/parallel-lint.bat" else="${basedir}/bin/parallel-lint">
55-
<os family="windows"/>
56-
</condition>
57-
58-
<target name="parallel-lint" description="Run PHP parallel lint">
59-
<exec executable="${parallel-lint}" failonerror="true">
60-
<arg line="--exclude" />
61-
<arg path="${basedir}/app/" />
62-
<arg line="--exclude" />
63-
<arg path="${basedir}/vendor/" />
64-
<arg path="${basedir}" />
65-
</exec>
66-
</target>
67-
```
47+
vendor/bin/parallel-lint --exclude app --exclude vendor .
6848

6949
## Create Phar package
7050

0 commit comments

Comments
 (0)