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:
parent
5b9438da82
commit
94f77f26af
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue