We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05d89cb commit 6064c96Copy full SHA for 6064c96
Makefile
@@ -129,3 +129,15 @@ check-git:
129
echo "Error: You must have a remote named 'upstream' that points to 'py-libp2p'"; \
130
exit 1; \
131
fi
132
+
133
+# autonat specific protobuf targets
134
+format-autonat-proto:
135
+ black libp2p/host/autonat/pb/autonat_pb2*.py*
136
+ isort libp2p/host/autonat/pb/autonat_pb2*.py*
137
138
+autonat-proto: clean-autonat
139
+ protoc --python_out=. --mypy_out=. libp2p/host/autonat/pb/autonat.proto
140
+ $(MAKE) format-autonat-proto
141
142
+clean-autonat:
143
+ rm -f libp2p/host/autonat/pb/autonat_pb2*.py*
0 commit comments