Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Move command to package; Remove phony

Tomas Valenta615228778326
diff --git a/Makefile b/Makefile
index 430165e2d..af4b39302 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ generate-js:
cd packages/js-sdk && pnpm generate-envd-api
cd spec/envd && buf generate --template buf-js.gen.yaml
-.PHONY: connect-python
-generate-python: connect-python
+generate-python:
+ $(MAKE) -C packages/connect-python build
cd packages/python-sdk && make generate-api
cd spec/envd && buf generate --template buf-python.gen.yaml
cd packages/python-sdk && ./scripts/fix-python-pb.sh && black .
@@ -20,6 +20,3 @@ generate-python: connect-python
.PHONY: init-styles
init-styles:
vale sync
-
-connect-python:
- $(MAKE) -C packages/connect-python bin/protoc-gen-connect-python
diff --git a/packages/connect-python/Makefile b/packages/connect-python/Makefile
index 65fe88d70..708bf7bf2 100644
--- a/packages/connect-python/Makefile
+++ b/packages/connect-python/Makefile
@@ -26,3 +26,6 @@ bin/$(plugin): $(wildcard cmd/$(plugin)/*.go) pyproject.toml Makefile
./cmd/$(plugin)
.PHONY: dev fmt lint upload clean
+
+build:
+ make bin/protoc-gen-connect-python