選択できるのは25トピックまでです。
トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
1234567891011121314 |
- #!/bin/bash
-
- # exclude vendor/
- SOURCES="./oragono.go ./irc"
-
- if [ "$1" = "--fix" ]; then
- exec gofmt -s -w $SOURCES
- fi
-
- if [ -n "$(gofmt -s -l $SOURCES)" ]; then
- echo "Go code is not formatted correctly with \`gofmt -s\`:"
- gofmt -s -d $SOURCES
- exit 1
- fi
|