mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-22 09:34:33 +08:00
chore: fix Make script when failed
This commit is contained in:
parent
fece76d93f
commit
323630cf5f
2
Makefile
2
Makefile
@ -21,7 +21,7 @@ test:
|
|||||||
exit 1; \
|
exit 1; \
|
||||||
elif grep -q "build failed" tmp.out; then \
|
elif grep -q "build failed" tmp.out; then \
|
||||||
rm tmp.out; \
|
rm tmp.out; \
|
||||||
exit; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
if [ -f profile.out ]; then \
|
if [ -f profile.out ]; then \
|
||||||
cat profile.out | grep -v "mode:" >> coverage.out; \
|
cat profile.out | grep -v "mode:" >> coverage.out; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user