Skip to content

Commit cb96f45

Browse files
committed
Moves cpx part
1 parent 7e1281d commit cb96f45

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ further utilisation via [Composer scripts](https://getcomposer.org/doc/articles/
4343
composer require --dev stolt/lean-package-validator
4444
```
4545

46-
A third option to use the lean package validator is via [cpx](https://cpx.dev/).
47-
48-
``` bash
49-
cpx stolt/lean-package-validator validate
50-
```
51-
5246
> [!TIP]
5347
> As of release `v1.9.0` it's also possible to install and use the lean package validator
5448
> via a PHAR [file](https://github.com/raphaelstolt/lean-package-validator/releases/tag/v1.9.0).
@@ -192,11 +186,10 @@ The `--overwrite|-o` option overwrites an existing `.lpv` file.
192186
The `--preset` option allows to choose from a predefined set of glob pattern.
193187
Available presets are `PHP`, `Python`, and `Go`. With `PHP` being the default.
194188

195-
## Utilisation via Composer scripts or it's dedicated GitHub Action
189+
## Utilisation via Composer scripts, cpx, or it's dedicated GitHub Action
196190

197191
To avoid that changes coming from contributions or own modifications slip into release/dist archives it
198-
might be helpful to use a guarding [Composer script](https://getcomposer.org/doc/articles/scripts.md),
199-
which will be available at everyone's fingertips.
192+
might be helpful to use a guarding [Composer script](https://getcomposer.org/doc/articles/scripts.md), which will be available at everyone's fingertips.
200193

201194
By adding the following to the project/micro-package its `composer.json` the `.gitattributes` file can
202195
now be easily validated via `composer validate-gitattributes`.
@@ -208,6 +201,11 @@ now be easily validated via `composer validate-gitattributes`.
208201
},
209202
}
210203
```
204+
Another option to utilise the lean package validator is via [cpx](https://cpx.dev/).
205+
206+
``` bash
207+
cpx stolt/lean-package-validator validate
208+
```
211209

212210
For utilising a dedicated GitHub Action have a look at the documentation over [here](https://github.com/raphaelstolt/lean-package-validator-action).
213211

0 commit comments

Comments
 (0)