Skip to content
Snippets Groups Projects
Verified Commit db0da96b authored by orestis.malaspin's avatar orestis.malaspin
Browse files

added puppeteer

parent 793b2ab0
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,11 @@ PDF=$(MD:%.md=%.pdf) # Pour les fichier pdf on transforme .md -> .pdf
MARKDOWN=$(MD:%.md=%.markdown) # Pour les fichier markdown on transforme .md -> .markdown
# all: $(PDF) $(HTML) # La cible par défaut (all) exécute les cibles %.html et %.pdf
all: $(PDF) # La cible par défaut (all) exécute les cibles %.html et %.pdf
all: puppeteer $(PDF) # La cible par défaut (all) exécute les cibles %.html et %.pdf
puppeteer:
@echo "Setting chromium to $(CHROMIUM) for puppeteer"
@echo -e "{\n\"executablePath\":" \"$(CHROMIUM)\" ",\n\"args\": [\"--no-sandbox\"]\n}" > .puppeteer.json
markdown: $(MARKDOWN) # La markdown les cibles %.markdown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment