File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -73,20 +73,20 @@ docker-build-only:
7373
7474# #@ Docker Build
7575.PHONY : docker-build
76- docker-build-only docker-setup # # Builds skyhook-agent docker image using docker buildx.
77- @echo "Building skyhook-agent docker image"
76+ docker-build : docker-build -only docker-setup # # Builds skyhook-agent docker image using docker buildx.
77+ @echo " Built skyhook-agent docker image. "
7878
7979# #@ Vendor
8080.PHONY : vendor
8181vendor : # # Uses Unearth to vendor all dependencies locally.
82- python3 -m venv ./venv_vendor
83- ./venv_vendor/bin/pip install unearth toml
84- dependencies =$(shell python -c 'import toml; print(" ".join(toml.loads(open("skyhook-agent/pyproject.toml","r") .read())["project"]["dependencies"]))')
85- rm -rf vendor
86- mkdir -p vendor
87- for dep in $(dependencies); do \
88- ./venv_vendor/bin/unearth --no-binary -d ./vendor $(dep) >> vendor/lock_file; \
89- done
82+ python3 -m venv ./venv_vendor
83+ ./venv_vendor/bin/pip install unearth toml
84+ dependencies=$(shell python -c 'import toml; print(" ".join(toml.loads(open("skyhook-agent/pyproject.toml","r") .read())[" project" ][" dependencies" ]))' )
85+ rm -rf vendor
86+ mkdir -p vendor
87+ for dep in $( dependencies) ; do \
88+ ./venv_vendor/bin/unearth --no-binary -d ./vendor $(dep ) >> vendor/lock_file; \
89+ done
9090
9191# #@ Clean
9292.PHONY : clean
You can’t perform that action at this time.
0 commit comments