]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blob - roles/git/files/config_files/git/templates_fretlink/hooks/pre-push
Fix prepush script
[perso/Immae/Config/Ansible.git] / roles / git / files / config_files / git / templates_fretlink / hooks / pre-push
1 #!/usr/bin/env bash
2
3 echo "[+] Running the linter"
4 make lint
5 output=$?
6
7 if [ "$output" = 1 ]; then
8 exit 1
9 else
10 exit 0
11 fi