mirror of
https://github.com/hanzoui/workflow-templates-broken-zap-2026-06-08.git
synced 2026-10-30 20:44:35 +00:00
23 lines
452 B
Bash
Executable File
23 lines
452 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
python3 scripts/sync_bundles.py
|
|
|
|
python3 -m venv .venv
|
|
source .venv/bin/activate
|
|
|
|
python -m pip install --upgrade pip build pytest twine ruff aiohttp
|
|
|
|
rm -rf dist
|
|
mkdir dist
|
|
|
|
for pkg in core media_api media_video media_image media_other meta; do
|
|
python -m build --outdir dist "packages/${pkg}"
|
|
done
|
|
|
|
ruff check scripts/sync_bundles.py packages/core packages/meta
|
|
|
|
pytest packages/core/tests
|
|
|
|
twine check dist/*
|