mirror of https://github.com/v2ray/v2ray-core
fix file mappings
parent
3c3ec9660f
commit
7be96a1629
|
@ -1,6 +1,7 @@
|
|||
package(default_visibility=["//visibility:public"])
|
||||
|
||||
load("@v2ray_ext//bazel:zip.bzl", "pkg_zip")
|
||||
load("//release:mapping.bzl", "gen_mappings")
|
||||
|
||||
filegroup(
|
||||
name = "config_json",
|
||||
|
@ -39,6 +40,7 @@ pkg_zip(
|
|||
":geodata",
|
||||
],
|
||||
out = "v2ray-macos-64.zip",
|
||||
mappings = gen_mappings("darwin", "amd64"),
|
||||
)
|
||||
|
||||
pkg_zip(
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
def gen_mappings(os, arch):
|
||||
return {
|
||||
"v2ray_core/release/doc": "doc",
|
||||
"v2ray_core/release/config": "",
|
||||
"v2ray_core/main/" + os + "/" + arch: "",
|
||||
"v2ray_ext/tools/control/main/" + os + "/" + arch: "",
|
||||
}
|
Loading…
Reference in New Issue