-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
40 lines (35 loc) · 950 Bytes
/
BUILD.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
load("@bazel_gazelle//:def.bzl", "DEFAULT_LANGUAGES", "gazelle", "gazelle_binary")
## gazelle:prefix github.com/lekhanhtoan37/gazelle-nestjs
gazelle(
name = "gazelle",
gazelle = ":gazelle_bin",
prefix = "github.com/lekhanhtoan37/gazelle-nestjs",
visibility = ["//visibility:public"],
)
gazelle_binary(
name = "gazelle_bin",
languages = DEFAULT_LANGUAGES,
visibility = ["//visibility:public"],
)
gazelle(
name = "test_gazelle",
gazelle = ":test_gazelle_bin",
prefix = "github.com/lekhanhtoan37/gazelle-nestjs",
visibility = ["//visibility:public"],
)
gazelle_binary(
name = "test_gazelle_bin",
languages = DEFAULT_LANGUAGES + [
"//gazelle:gazelle",
],
visibility = ["//visibility:public"],
)
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=deps.bzl%gazelle_deps",
"-prune",
],
command = "update-repos",
)