nicojensen.de/vendor/bundle/gems/jekyll-feed-0.11.0/script/fmt
Nico Jensen b59a203dbb Init
Init commit
2019-03-12 13:49:49 +01:00

10 lines
224 B
Bash

#!/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