11 lines
159 B
Bash
Executable File
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
|