forked from rules-proto-grpc/rules_proto_grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (26 loc) · 856 Bytes
/
Makefile
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
# Run the rulegen system
.PHONY: rulegen
rulegen:
bazel query '//examples/routeguide/... - attr(tags, manual, //examples/routeguide/...)' > available_tests.txt; \
bazel run --run_under="cd $$PWD && " //tools/rulegen; \
rm available_tests.txt;
# Publish a release
.PHONY: release
release:
./tools/make_release.py
# Build docs locally
.PHONY: docs
docs:
python3 -m sphinx -c docs -a -E -T -W --keep-going docs docs/build
# Apply buildifier
.PHONY: buildifier
buildifier:
bazel run //tools:buildifier
# Run pip-compile to upgrade python dependencies
.PHONY: pip_compile
pip_compile:
cd modules/python && echo '' > requirements.txt && bazel run --enable_bzlmod //:requirements.update
# Pull in auto-generated examples makefile
include examples/Makefile.mk
# Pull in auto-generated test workspaces makefile
include test_workspaces/Makefile.mk