2018-04-26 18:38:33 +02:00

11 lines
159 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
rake test
rake lint