mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-03 15:55:20 -05:00
Output SHA1 checksum for released packages
This commit is contained in:
@@ -36,21 +36,21 @@ func TestBuildMacOS(t *testing.T) {
|
||||
binPath = filepath.Join(os.Getenv("GOPATH"), "testing")
|
||||
cleanBinPath()
|
||||
|
||||
build("macos", "amd64", true, "test")
|
||||
build("macos", "amd64", true, "test", "metadata.txt")
|
||||
assert.Bool(allFilesExists(
|
||||
"v2ray-macos.zip",
|
||||
"v2ray-test-macos",
|
||||
filepath.Join("v2ray-test-macos", "config.json"),
|
||||
filepath.Join("v2ray-test-macos", "v2ray"))).IsTrue()
|
||||
|
||||
build("windows", "amd64", true, "test")
|
||||
build("windows", "amd64", true, "test", "metadata.txt")
|
||||
assert.Bool(allFilesExists(
|
||||
"v2ray-windows-64.zip",
|
||||
"v2ray-test-windows-64",
|
||||
filepath.Join("v2ray-test-windows-64", "config.json"),
|
||||
filepath.Join("v2ray-test-windows-64", "v2ray.exe"))).IsTrue()
|
||||
|
||||
build("linux", "amd64", true, "test")
|
||||
build("linux", "amd64", true, "test", "metadata.txt")
|
||||
assert.Bool(allFilesExists(
|
||||
"v2ray-linux-64.zip",
|
||||
"v2ray-test-linux-64",
|
||||
|
||||
Reference in New Issue
Block a user