]>
git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - scripts/gofmtcheck.sh
4 echo "==> Checking that code complies with gofmt requirements..."
5 gofmt_files
=$(gofmt -l `find . -name '*.go' | grep -v vendor`)
6 if [[ -n ${gofmt_files} ]]; then
7 echo 'gofmt needs running on the following files:'
9 echo "You can use the command: \`make fmt\` to reformat code."