-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathBUILD.bazel
More file actions
29 lines (25 loc) · 730 Bytes
/
BUILD.bazel
File metadata and controls
29 lines (25 loc) · 730 Bytes
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
load("@bazel_gazelle//:def.bzl", "DEFAULT_LANGUAGES", "gazelle", "gazelle_binary")
load("@io_bazel_rules_go//go:def.bzl", "nogo")
load("@npm//:defs.bzl", "npm_link_all_packages")
# gazelle:prefix github.com/kriscfoster/multi-language-bazel-monorepo
# gazelle:java_maven_install_file maven_install.json
gazelle(
name = "gazelle",
gazelle = ":gazelle_bin",
)
gazelle_binary(
name = "gazelle_bin",
languages = DEFAULT_LANGUAGES + [
"@contrib_rules_jvm//java/gazelle",
],
)
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=go_deps.bzl%go_dependencies",
"-prune",
],
command = "update-repos",
)
npm_link_all_packages(name = "npm")