-
Notifications
You must be signed in to change notification settings - Fork 8
/
WORKSPACE
72 lines (43 loc) · 1.63 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
workspace(name = "rules_detekt")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Runtime
## Dependencies
load("//detekt:dependencies.bzl", "rules_detekt_dependencies")
rules_detekt_dependencies()
## Toolchains
load("//detekt:toolchains.bzl", "rules_detekt_toolchains")
rules_detekt_toolchains()
# Testing
## Skylib
skylib_version = "1.4.1"
skylib_sha = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7"
http_archive(
name = "bazel_skylib",
sha256 = skylib_sha,
url = "https://github.com/bazelbuild/bazel-skylib/releases/download/{v}/bazel-skylib-{v}.tar.gz".format(v = skylib_version),
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
# Documenting
## Stardoc
stardoc_version = "0.5.3"
stardoc_sha = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb"
http_archive(
name = "io_bazel_stardoc",
sha256 = stardoc_sha,
url = "https://github.com/bazelbuild/stardoc/releases/download/{v}/stardoc-{v}.tar.gz".format(v = stardoc_version),
)
load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
stardoc_repositories()
# Linting
## Buildifier
http_archive(
name = "buildifier_prebuilt",
sha256 = "72b5bb0853aac597cce6482ee6c62513318e7f2c0050bc7c319d75d03d8a3875",
strip_prefix = "buildifier-prebuilt-6.3.3",
url = "http://github.com/keith/buildifier-prebuilt/archive/6.3.3.tar.gz",
)
load("@buildifier_prebuilt//:deps.bzl", "buildifier_prebuilt_deps")
buildifier_prebuilt_deps()
load("@buildifier_prebuilt//:defs.bzl", "buildifier_prebuilt_register_toolchains")
buildifier_prebuilt_register_toolchains()