![]() Attempt to commit your changes, and you should see output similar to the following: Save the changes to the pre-commit file and make a change to your code. ![]() It first runs Pint and then runs Pest using Laravel Sail if the sail script exists otherwise, it runs Pest using the local vendor/bin/sail script. This code runs Pint and Pest before a Git commit is executed. & bash sail pest || bash vendor/bin/sail pest Open the pre-commit file in a text editor and add the following code:įiles=$(git diff -cached -name-only -diff-filter=ACM - '*.php')
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |