mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-02 15:25:28 -05:00
run coverage with go module
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
FAIL=0
|
||||
|
||||
V2RAY_OUT=${GOPATH}/out/v2ray
|
||||
V2RAY_COV=${V2RAY_OUT}/cov
|
||||
V2RAY_OUT=${PWD}/out/v2ray
|
||||
export V2RAY_COV=${V2RAY_OUT}/cov
|
||||
COVERAGE_FILE=${V2RAY_COV}/coverage.txt
|
||||
|
||||
function test_package {
|
||||
DIR="v2ray.com/core$1"
|
||||
DIR=".$1"
|
||||
DEP=$(go list -f '{{ join .Deps "\n" }}' $DIR | grep v2ray | tr '\n' ',')
|
||||
DEP=${DEP}$DIR
|
||||
RND_NAME=$(openssl rand -hex 16)
|
||||
|
||||
Reference in New Issue
Block a user