update build

This commit is contained in:
Simon Vieille 2021-11-28 23:06:17 +01:00
parent a27cbb3ae5
commit e2e40d10cb
1 changed files with 5 additions and 0 deletions

View File

@ -6,13 +6,18 @@ build-pptx:
build-html:
marp src/index.md --allow-local-files -o build/index.html
cp -rv src/assets build
clean:
test -f build/index.html && rm build/index.html || true
test -f build/slides.pdf && rm build/slides.pdf || true
test -f build/slides.pptx && rm build/slides.pptx || true
test -d build/assets && rm -fr build/assets || true
build: build-html build-pdf build-pptx
test -f build/html.tar.gz && rm build/html.tar.gz || true
tar cvf build/html.tar build/index.html build/assets
gzip -9 build/html.tar
serve:
marp --allow-local-files -w -s ./src