mirror of https://github.com/v2ray/v2ray-core
remove json tag
parent
955444adc9
commit
655fb40b3f
|
@ -17,7 +17,7 @@ func BuildV2Ray() error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd := exec.Command("go", "test", "-tags", "json coverage coveragemain", "-coverpkg", "v2ray.com/core/...", "-c", "-o", testBinaryPath, GetSourcePath())
|
cmd := exec.Command("go", "test", "-tags", "coverage coveragemain", "-coverpkg", "v2ray.com/core/...", "-c", "-o", testBinaryPath, GetSourcePath())
|
||||||
return cmd.Run()
|
return cmd.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ func BuildV2Ray() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath)
|
fmt.Printf("Building V2Ray into path (%s)\n", testBinaryPath)
|
||||||
cmd := exec.Command("go", "build", "-tags=json", "-o="+testBinaryPath, GetSourcePath())
|
cmd := exec.Command("go", "build", "-o="+testBinaryPath, GetSourcePath())
|
||||||
return cmd.Run()
|
return cmd.Run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue