3 ms·
They include scripts to check code quality. Perhaps those should be set up with a pre-commit git hook to ensure they get used.
by sheer_horror 10y ago
They include scripts to check code quality. Perhaps those should be set up with a pre-commit git hook to ensure they get used.
- morenoh149 10y agoIs there a way to set a pre commit git hook in a project's source code? So that the same hook only runs on that project and not on every project using git.
- ecesena 10y agoTypically you add files with the scripts and a Malefile or anything similar to initialize and move those files around. So installation instructions become: 1. git clone 2. cd 3. make [init]
- wahnfrieden 10y agoNote that it works best to have that install script create symbolic links for the git hooks rather than copy, so that they can be updated without having to rerun the install script.