#!/usr/bin/env sh # Run: # ln -s ../../pre-commit.sh .git/hooks/pre-commit set -e # format make format git diff --name-only --cached --diff-filter=d | xargs -l git add # build make build