mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
fix file mappings
This commit is contained in:
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(
|
||||
|
7
release/mapping.bzl
Normal file
7
release/mapping.bzl
Normal file
@ -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
Block a user