Sha256: c21e3b04f1096d83bb00e20473beee9070e1eae5d44917ccb378060bdfbc9026
Contents?: true
Size: 394 Bytes
Versions: 14
Compression:
Stored size: 394 Bytes
Contents
#!/bin/bash # Usage: script/test_style.sh # # Check code style wit rubocop. # set flag for shell execution. # -e Exit immediately if a command exits with a non-zero status. set -e echo "Rubocop $(bundle exec rubocop --version)" bundle exec rubocop -S -D -E "$@" success=$? if ((success != 0)); then echo -e "\nTry running \`script/fmt -a\` to automatically fix errors" fi exit $success
Version data entries
14 entries across 14 versions & 2 rubygems