mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-12 16:38:37 -05:00
9 lines
213 B
Bash
Executable File
9 lines
213 B
Bash
Executable File
#!/bin/bash
|
|
echo "Rubocop $(bundle exec rubocop --version)"
|
|
bundle exec rubocop -D $@
|
|
success=$?
|
|
if ((success != 0)); then
|
|
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
|
|
fi
|
|
exit $success
|