You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
packer/scripts/gofmtcheck.sh

9 lines
164 B

#!/usr/bin/env bash
for f in $@; do
[ -n "`dos2unix 2>/dev/null < $f | gofmt -s -d`" ] && echo $f
done
# always return success or else 'make' will abort
exit 0