Skip to content

Commit

Permalink
Add make bundle-python-linux to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YayunHuang committed Aug 26, 2024
1 parent 2cfbb28 commit 4768273
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -58,6 +58,7 @@ format:
ci:
make check-format
make lint_astro
make bundle-python-linux

.PHONY: check-format
check-format:
@@ -71,6 +72,13 @@ check-format:
bundle-python:
ditto -c -k --sequesterRsrc --keepParent ./mockup_package/mockup ./public/mockup.zip

.PHONY: bundle-python-linux
bundle-python-linux:
mkdir -p mockup
cp -r mockup_package/mockup/* mockup/
zip -r public/mockup.zip mockup
rm -rf mockup

.PHONY: lint_astro
lint_astro:
python3 -m ruff .

0 comments on commit 4768273

Please sign in to comment.