Skip to content

Commit

Permalink
Show how to make Composer run when needed
Browse files Browse the repository at this point in the history
  • Loading branch information
Grégoire Paris committed Jan 2, 2014
1 parent c9e4abc commit fb617b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ validity on pre-commit. It assumes Composer is [globally installed][1].
You must tell it whether you wish it to run Composer, or if you would rather
it to notify you when you need to do it:

# If you want Composer to run each time composer.lock changes
git config hooks.composer.onChange run

# If you prefer to get a notification
git config hooks.composer.onChange just_warn

If the latter case, you must configure a notifier. Available notifiers for the
Expand Down

0 comments on commit fb617b0

Please sign in to comment.