From a346c90e3f1968ae6362c29cdb4302a9b4a5fb2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Avil=C3=A9s?= Date: Wed, 10 Apr 2019 12:47:35 +0200 Subject: [PATCH] Add Makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile 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