Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Apr 10, 2019
1 parent 0ae9557 commit a346c90
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a346c90

Please sign in to comment.