update build
This commit is contained in:
parent
a27cbb3ae5
commit
e2e40d10cb
5
Makefile
5
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue