Skip to content

Commit

Permalink
Merge pull request #108 from localheinz/feature/ci
Browse files Browse the repository at this point in the history
Enhancement: Add note about usage in continuous integration systems
  • Loading branch information
localheinz authored Nov 18, 2018
2 parents c676a28 + 1d613e7 commit 6b3d84b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@ The `NormalizeCommand` provided by the `NormalizePlugin` within this package wil
* `--indent-style`: Indent style (one of "space", "tab"); should be used with the `--indent-size` option
* `--no-update-lock`: Do not update lock file if it exists

### Continuous Integration

If you want to run this in continuous integration services, use the `--dry-run` option.

```
$ composer normalize --dry-run
```

In case `composer.json` is not normalized (or `composer.lock` is not up-to-date), the command will
fail with an exit code of `1` and show a diff.

## Changelog

Please have a look at [`CHANGELOG.md`](CHANGELOG.md).
Expand Down

0 comments on commit 6b3d84b

Please sign in to comment.