-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBUILD
25 lines (21 loc) · 822 Bytes
/
BUILD
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
load("@gazelle//:def.bzl", "gazelle")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@rules_go//go:def.bzl", "TOOLS_NOGO", "nogo")
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
# gazelle:map_kind go_binary ${project}_go_binary //tools/rules/golang:defs.bzl
# gazelle:map_kind go_library ${project}_go_library //tools/rules/golang:defs.bzl
# gazelle:map_kind go_test ${project}_go_test //tools/rules/golang:defs.bzl
gazelle(name = "gazelle")
nogo(
name = "nogo",
visibility = ["//visibility:public"],
deps = TOOLS_NOGO,
)
# Set up our pip requirements
compile_pip_requirements(
name = "requirements",
#extra_args = ["--allow-unsafe"],
requirements_in = "requirements.in",
requirements_txt = "requirements_lock.txt",
)
npm_link_all_packages(name = "node_modules")