mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-09 15:17:52 +08:00
13 lines
150 B
Bash
Executable File
13 lines
150 B
Bash
Executable File
#!/bin/bash
|
|
|
|
GOLINTOUT=$(golint *go)
|
|
|
|
if [ ! -z "$GOLINTOUT" -o "$?" != 0 ]; then
|
|
echo golint failed:
|
|
echo $GOLINTOUT
|
|
exit 1
|
|
fi
|
|
|
|
go test
|
|
|