put_precommit_hook: Put Pre-Commit Hook

View source: R/checks.R

put_precommit_hookR Documentation

Put Pre-Commit Hook

Description

Add a pre-commit hook that runs at every commit to ensure that JavaScript files are minified.

Usage

put_precommit_hook()

Note

Will only work if using git.

Examples

## Not run: put_precommit_hook()


packer documentation built on May 28, 2022, 5:06 p.m.