chore(ipub): example ipub file initial commit

This commit is contained in:
Guz
2025-07-31 19:18:28 -03:00
parent 642ac17c7a
commit ef0c5b0266
11 changed files with 196 additions and 0 deletions

View File

@@ -49,6 +49,19 @@ build: build/assets
run: build
./.dist/app
epub/example:
cd ./.epub/example; zip ./example.epub ./META-INF/container.xml ./OEBPS/* ./OEBPS/**/* ./mimetype
epub/example/server:
cd ./.epub/example; http-server
calibre:
mkdir -p ./tmp/calibre-library
calibre \
--no-update-check \
--with-library=./tmp/calibre-library \
./.epub/example/example.epub
clean:
# Remove generated directories
if [[ -d ".dist" ]]; then rm -r ./.dist; fi