Skip to content

Commit 6444b81

Browse files
committed
Document how to run the pre-commit-test target natively
1 parent b518c86 commit 6444b81

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/contributions/index.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,13 @@ Clone the mono repository
1010
Run the tests
1111
=============
1212

13+
The project comes with a Makefile that will run the tests and other
14+
checks for you.
15+
It relies on ``docker``, but you can run any make target natively by
16+
using the ``PHP_BIN`` make variable.
17+
For instance, to run the pre-commit checks, you can run::
18+
19+
make PHP_BIN=php pre-commit-test
20+
1321
Submit a Pull Request
1422
=====================

0 commit comments

Comments
 (0)