rf-web/vendor/bundle/gems/jekyll-feed-0.12.1/script/fmt

11 lines
224 B
Plaintext
Raw Normal View History

2019-10-21 08:18:17 +00:00
#!/bin/bash
set -e
echo "Rubocop $(bundle exec rubocop --version)"
bundle exec rubocop -D -E $@
success=$?
if ((success != 0)); then
echo -e "\nTry running \`script/fmt -a\` to automatically fix errors"
fi
exit $success