| Filename | Description | | - | - | | post-checkout | This hook executes after a branch checkout, or branch switch has occurred. | | post-merge | This hook executes after a branch merge has occurred | | update_editor.sh | The actual brains of the hooks. Performs a yarn install, yarn build, yarn build:apm, and syncs all submodules. |
These hooks are not guaranteed. These were made out of convenience and presented to the org as an optional tool for usage.
There are several ways to apply these hooks:
<pulsar-repo-root>/.git/hooks
folder and validate that they are executable - the effect should be immediate. This is the preferred option for Windows.<pulsar-repo-root>/hooks
.
./manage-hooks.sh
.manage_hooks-completion.bash
file to allow for auto-complete ie source manage_hooks-completion.bash
.list
, install
and remove
install
and remove
commands require the hook you wish to install, followed by an optional parameter for copy
vs symlink
with symlink being the default.
copy
the files to the <pulsar-repo-root>/.git/hooks
directory