File: fmt

package info (click to toggle)
ruby-jekyll-paginate-v2 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 1,988 kB
  • sloc: ruby: 1,085; sh: 7; makefile: 3
file content (8 lines) | stat: -rwxr-xr-x 213 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/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