mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-08 22:35:54 +08:00
add vendor packages避免用户网络太慢无法下载编译
This commit is contained in:
10
vendor/github.com/rcrowley/go-metrics/validate.sh
generated
vendored
Executable file
10
vendor/github.com/rcrowley/go-metrics/validate.sh
generated
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# check there are no formatting issues
|
||||
GOFMT_LINES=`gofmt -l . | wc -l | xargs`
|
||||
test $GOFMT_LINES -eq 0 || echo "gofmt needs to be run, ${GOFMT_LINES} files have issues"
|
||||
|
||||
# run the tests for the root package
|
||||
go test -race .
|
Reference in New Issue
Block a user