mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-26 12:07:47 -05:00
release script relocation
This commit is contained in:
parent
e8cad4a126
commit
a82ca019b2
@ -211,7 +211,7 @@ func loadGeoSite(country string) ([]*Domain, error) {
|
|||||||
func TestChinaSites(t *testing.T) {
|
func TestChinaSites(t *testing.T) {
|
||||||
assert := With(t)
|
assert := With(t)
|
||||||
|
|
||||||
common.Must(sysio.CopyFile(platform.GetAssetLocation("geosite.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geosite.dat")))
|
common.Must(sysio.CopyFile(platform.GetAssetLocation("geosite.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geosite.dat")))
|
||||||
|
|
||||||
domains, err := loadGeoSite("CN")
|
domains, err := loadGeoSite("CN")
|
||||||
assert(err, IsNil)
|
assert(err, IsNil)
|
||||||
|
@ -54,7 +54,7 @@ func TestIPNet(t *testing.T) {
|
|||||||
|
|
||||||
func TestGeoIPCN(t *testing.T) {
|
func TestGeoIPCN(t *testing.T) {
|
||||||
assert := With(t)
|
assert := With(t)
|
||||||
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
|
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))
|
||||||
|
|
||||||
ips, err := loadGeoIP("CN")
|
ips, err := loadGeoIP("CN")
|
||||||
common.Must(err)
|
common.Must(err)
|
||||||
@ -87,7 +87,7 @@ func loadGeoIP(country string) ([]*router.CIDR, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func BenchmarkIPNetQuery(b *testing.B) {
|
func BenchmarkIPNetQuery(b *testing.B) {
|
||||||
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
|
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))
|
||||||
|
|
||||||
ips, err := loadGeoIP("CN")
|
ips, err := loadGeoIP("CN")
|
||||||
common.Must(err)
|
common.Must(err)
|
||||||
@ -105,7 +105,7 @@ func BenchmarkIPNetQuery(b *testing.B) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func BenchmarkCIDRQuery(b *testing.B) {
|
func BenchmarkCIDRQuery(b *testing.B) {
|
||||||
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "tools", "release", "config", "geoip.dat")))
|
common.Must(sysio.CopyFile(platform.GetAssetLocation("geoip.dat"), filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", "release", "config", "geoip.dat")))
|
||||||
|
|
||||||
ips, err := loadGeoIP("CN")
|
ips, err := loadGeoIP("CN")
|
||||||
common.Must(err)
|
common.Must(err)
|
||||||
|
@ -29,7 +29,7 @@ v2ray --config=<full path>
|
|||||||
|
|
||||||
压缩包中的 .sig 文件为 GPG 签名文件,用来验证对应程序文件的真实性。签名公钥可以在下面的链接找到:
|
压缩包中的 .sig 文件为 GPG 签名文件,用来验证对应程序文件的真实性。签名公钥可以在下面的链接找到:
|
||||||
|
|
||||||
https://github.com/v2ray/v2ray-core/blob/master/tools/release/verify/official_release.asc
|
https://github.com/v2ray/v2ray-core/blob/master/release/verify/official_release.asc
|
||||||
|
|
||||||
## 问题反馈
|
## 问题反馈
|
||||||
|
|
@ -1,2 +0,0 @@
|
|||||||
// Package tools contains utilities that is not directly linked into V2Ray binary.
|
|
||||||
package tools
|
|
Loading…
Reference in New Issue
Block a user