-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 770 Bytes
/
Makefile
File metadata and controls
32 lines (22 loc) · 770 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
30
31
32
# This program is free software: you can redistribute it under the terms
# of the GNU General Public License, v. 3.0. If a copy of the GNU General
# Public License was not distributed with this file, see <https://www.gnu.org/licenses/>.
PYTHON := python3
VERSION ?= v1
.PHONY: all setup install_packages download_bridges download_protos compile_protos clean
all: setup
setup: download_bridges download_protos compile_protos
install_packages:
@./scripts/install_packages.sh $(filter-out $@,$(MAKECMDGOALS))
download_bridges:
@$(PYTHON) -m scripts.download_bridges
download_protos:
@./scripts/download_protos.sh vault.proto $(VERSION)
compile_protos:
@./scripts/compile_protos.sh $(VERSION)
clean:
rm -f *_pb2_grpc.py
rm -f *_pb2.py
rm -f *_pb2.pyi
%:
@: