diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6daa714 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +.PHONY: build print print-docker + +build: + yarn build + +print: build + yarn print + +print-docker: build + docker container run -it --rm \ + -v $(CURDIR):/usr/src/app \ + -v $(CURDIR)/fonts:/home/chrome/.fonts:ro \ + zenika/alpine-chrome --no-sandbox --print-to-pdf --hide-scrollbars --print-to-pdf=cv-docker.pdf cv.html