-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 739 Bytes
/
Makefile
File metadata and controls
22 lines (16 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
test:
uv run pytest .
fmt:
uv run black . --extend-exclude=cloudquery
fmt-check:
uv run black --check . --extend-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/.
uv run 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/.
uv run python -m grpc_tools.protoc -I./protos --python_out=. --pyi_out=. --grpc_python_out=. ./protos/cloudquery/discovery_v1/*.proto