2017-11-29 17:50:46 +01:00

11 lines
169 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# 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