forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWORKSPACE
113 lines (92 loc) · 3.03 KB
/
WORKSPACE
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
workspace(name = "selenium")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_closure",
sha256 = "b6936ecc0b5a1ef616b9d7e76694d414aa5605265c11322257a610fb256b1bf7",
strip_prefix = "rules_closure-7434c41542ca9e1b05166d897b90073d1b8b2cf8",
urls = [
"https://github.com/bazelbuild/rules_closure/archive/7434c41542ca9e1b05166d897b90073d1b8b2cf8.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
http_archive(
name = "io_bazel_rules_dotnet",
sha256 = "6a7083f9839819c7ad5928198258b0f0873cc6aafc7f2db6507f6d1b66f0b91b",
strip_prefix = "rules_dotnet-a1b161565ccd4bdb0a0ad3eb662d2b7c61a78100",
urls = [
"https://github.com/bazelbuild/rules_dotnet/archive/a1b161565ccd4bdb0a0ad3eb662d2b7c61a78100.tar.gz",
]
)
load("@io_bazel_rules_dotnet//dotnet:defs.bzl",
"dotnet_register_toolchains",
"net_register_sdk",
"core_register_sdk",
"mono_register_sdk",
"dotnet_repositories",
"dotnet_nuget_new",
"nuget_package",
"DOTNET_NET_FRAMEWORKS",
"DOTNET_CORE_FRAMEWORKS")
dotnet_register_toolchains()
dotnet_repositories()
mono_register_sdk()
[net_register_sdk(
framework
) for framework in DOTNET_NET_FRAMEWORKS]
[core_register_sdk(
framework
) for framework in DOTNET_CORE_FRAMEWORKS]
# Default core_sdk
core_register_sdk("v2.1.502", name = "core_sdk")
# Default net_sdk
net_register_sdk("net472", name = "net_sdk")
dotnet_nuget_new(
name = "json.net",
package = "newtonsoft.json",
version = "12.0.2",
build_file = "//third_party/dotnet/nuget/packages:newtonsoft.json.bzl"
)
dotnet_nuget_new(
name = "moq",
package = "moq",
version = "4.10.1",
build_file = "//third_party/dotnet/nuget/packages:moq.bzl"
)
dotnet_nuget_new(
name = "benderproxy",
package = "benderproxy",
version = "1.0.0",
build_file = "//third_party/dotnet/nuget/packages:benderproxy.bzl"
)
dotnet_nuget_new(
name = "castle.core",
package = "castle.core",
version = "4.3.1",
build_file = "//third_party/dotnet/nuget/packages:castle.core.bzl"
)
dotnet_nuget_new(
name = "system.threading.tasks.extensions",
package = "system.threading.tasks.extensions",
version = "4.5.1",
build_file = "//third_party/dotnet/nuget/packages:system.threading.tasks.extensions.bzl"
)
dotnet_nuget_new(
name = "nunit",
package = "nunit",
version = "3.11.0",
build_file = "//third_party/dotnet/nuget/packages:nunit.bzl"
)
http_archive(
name = "build_bazel_rules_nodejs",
sha256 = "4c702ffeeab2d24dd4101601b6d27cf582d2e0d4cdc3abefddd4834664669b6b",
urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/0.28.0/rules_nodejs-0.28.0.tar.gz"],
)
load("@build_bazel_rules_nodejs//:defs.bzl", "npm_install")
npm_install(
name = "npm",
package_json = "//:package.json",
package_lock_json = "//:package-lock.json",
)
load("@npm//:install_bazel_dependencies.bzl", "install_bazel_dependencies")
install_bazel_dependencies()