grumphp:
git_hook_variables:
# These variables are injected into your "local" git hook
# When you change them, you still need to run git:init
# They are separated from the environment section to give you more flexibility
# Note that currently these env vars could be overwitten by the once in environment once grumphp starts again
ENV:
A: B
C: D
environment:
# First .env files can be loaded:
files:
- .env
- .env.local
# You can overwrite them with .env VARS directly:
variables:
GRUMPHP_PROJECT_DIR: .
SOME_COMPLETELY_RANDOM_ENV_VAR: FOO
# These paths will be prepended in your PATH variable
# This makes it possible to e.g. add the project's phive tools directory besides the composer bin dir
paths:
- tools
TODO:
[x] Tests
[x] Documentation
[x] Add ENV to vagrant hooks?
[x] Lowest deps
To decide:
[x] Decide if we require to reload the composer file again (currently I don't see the benifit) => I'dd say no!
[x] Decide if we'll split the environment env from the git hook env => I'dd say yes!
Example configuration:
TODO:
To decide: