chore: Build pipeline for books/core

This commit is contained in:
2026-06-06 23:44:13 +00:00
parent 88a2778e6f
commit 74c4fc2c2a

View File

@@ -15,5 +15,12 @@ serve:
deploy: build
scp -r dist/* {{ user }}@{{ host }}:{{ www-root }}/
core-format:
find books/core -type f -name "*.html" -exec npx prettier --write {} \;
core-build:
cd books/core && python3 build.py
npx prettier --write books/core/index.html
build:
npm run build