full-dist: put toolkits in dist/toolkits/ (#68)

This helps separate the SDK wheel from toolkit wheels, to make
programmatic copying easier
This commit is contained in:
Nate Barbettini 2024-09-25 13:29:50 -07:00 committed by GitHub
parent 5b9438da82
commit 94f77f26af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,7 +74,7 @@ full-dist: clean-dist ## Build all projects and copy wheels to arcade/dist
@cd arcade && poetry build
# Create the arcade/dist directory if it doesn't exist
@mkdir -p arcade/dist
@mkdir -p arcade/dist/toolkits
# Build and copy wheels for each toolkit
@for toolkit_dir in toolkits/*; do \
@ -82,7 +82,7 @@ full-dist: clean-dist ## Build all projects and copy wheels to arcade/dist
toolkit_name=$$(basename "$$toolkit_dir"); \
echo "Building $$toolkit_name project..."; \
cd "$$toolkit_dir" && poetry build; \
cp dist/*.whl ../../arcade/dist; \
cp dist/*.whl ../../arcade/dist/toolkits; \
cd -; \
fi; \
done