tldr/scripts/pre-commit

6 lines
67 B
Bash

#!/bin/sh
make index
git add ./pages/index.json
make lint-changed