๐Ÿ“ฆ SeleniumHQ / selenium

๐Ÿ“„ BUILD.bazel ยท 54 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54load("@rules_pkg//pkg:zip.bzl", "pkg_zip")
load("//dotnet:defs.bzl", "nuget_push")
load("//dotnet/private:docfx.bzl", "docfx")

exports_files([
    "AssemblyInfo.cs.template",
    "Selenium.snk",
])

pkg_zip(
    name = "strongnamed",
    srcs = [
        "//dotnet/src/support:support-strongnamed-pack",
        "//dotnet/src/webdriver:webdriver-strongnamed-pack",
    ],
    tags = [
        "release-artifact",
    ],
)

pkg_zip(
    name = "release",
    srcs = [
        "//dotnet/src/support:support-pack",
        "//dotnet/src/webdriver:webdriver-pack",
    ],
    tags = [
        "release-artifact",
    ],
)

filegroup(
    name = "source_files_support_needs_from_core",
    srcs = [
        "//dotnet/src/webdriver:Properties/StringSyntaxAttribute.cs",
        "//dotnet/src/webdriver:Properties/StringSyntaxConstants.cs",
    ],
    visibility = ["__subpackages__"],
)

docfx(
    name = "docs",
    docfx_dll = "@docfx//:docfx_dll",
    docfx_json = "docs/docfx.json",
)

nuget_push(
    name = "publish",
    packages = [
        "//dotnet/src/support:support-pack",
        "//dotnet/src/webdriver:webdriver-pack",
    ],
)