-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
22 lines (16 loc) · 690 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
test:
pytest .
fmt:
black . --exclude=cloudquery
fmt-check:
black --check . --exclude=cloudquery
clone-proto:
git clone https://github.com/cloudquery/plugin-pb
gen-proto:
cd plugin-pb && git pull && cd ..
mkdir -p ./protos/cloudquery/plugin_v3
cp ./plugin-pb/plugin/v3/*.proto ./protos/cloudquery/plugin_v3/.
python -m grpc_tools.protoc -I./protos --python_out=. --pyi_out=. --grpc_python_out=. ./protos/cloudquery/plugin_v3/*.proto
mkdir -p ./protos/cloudquery/discovery_v1
cp ./plugin-pb/discovery/v1/*.proto ./protos/cloudquery/discovery_v1/.
python -m grpc_tools.protoc -I./protos --python_out=. --pyi_out=. --grpc_python_out=. ./protos/cloudquery/discovery_v1/*.proto