2017-11-14 17:08:32 +01:00

10 lines
172 B
Bash
Executable File

#!/usr/bin/env bash
# Succeed fast if we did not change any ruby file
if ! git status --short | grep -q '\.rb$'; then
exit 0
fi
# Match style guide
rake lint || exit 1