10 lines
172 B
Bash
Executable File
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
|