-
Notifications
You must be signed in to change notification settings - Fork 1
/
MODULE.bazel
46 lines (37 loc) · 1.32 KB
/
MODULE.bazel
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
"""
"""
module(name = "rules_haxe", version = "1.1.2")
bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "rules_cc", version = "0.0.9")
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure")
use_repo(cc_configure, "local_config_cc")
register_toolchains("@local_config_cc//:all")
# Haxe definitions and toolchains.
haxe_install = use_extension("@rules_haxe//:def.bzl", "haxe_install_ext")
use_repo(haxe_install, "haxe_universal")
haxe_install.install_universal(
name = "haxe_universal",
)
register_toolchains(
"@haxe_universal//:toolchain",
)
# Unit test modules.
bazel_dep(name = "test-module-a", version = "0.1", dev_dependency = True)
bazel_dep(name = "test-module-b", version = "0.1", dev_dependency = True)
bazel_dep(name = "test-module-dist", version = "0.1", dev_dependency = True)
local_path_override(
module_name = "test-module-a",
path = "test/packages/module-a",
)
local_path_override(
module_name = "test-module-b",
path = "test/packages/module-b",
)
local_path_override(
module_name = "test-module-dist",
path = "test/packages/module-dist",
)
# Skylib, for unit testing.
bazel_dep(name = "bazel_skylib", version = "1.7.1", dev_dependency = True)
# Stardoc, for documentation generation.
bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True)