Skip to content

Commit

Permalink
Merge pull request wunderio#83 from wunderio/feature/wunderio#78-Add-…
Browse files Browse the repository at this point in the history
…info-to-readme-how-to-run-task-specific-tasks

wunderio#78 Add info to readme how to run task specific tasks.
  • Loading branch information
hkirsman committed Oct 28, 2022
2 parents 00bd8dc + ad83afc commit 6791e43
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,14 @@ Since GrumPHP is just a CLI tool, these commands can be triggered:

The pre-commit hook will be automatically run upon executing `git commit`.

The code scanning can be avoided by `git commit --no-verify` or `git commit -n`.
The code scanning can be avoided by `git commit --no-verify` or `git commit -n` but is only meant for rare occasions.

You can run the checks manually with: `./vendor/bin/grumphp run`

To run specific task from the defined tasks in grumphp.yml, you can define it with `--tasks` parameter. Example:

./vendor/bin/grumphp run --tasks=phpcs

## Usage in Continuous Integration
You can easily use the code quality checkers on your CI (CircleCi/Jenkins/GitLab CI) by adding this line:

Expand Down

0 comments on commit 6791e43

Please sign in to comment.