resume/render.sh

18 lines
538 B
Bash
Raw Permalink Normal View History

2020-05-19 18:20:34 -04:00
#!/bin/bash
2020-10-27 17:07:17 -04:00
if [[ $(id -u) == 0 ]];
then
# asciidoctor -B /opt/dev/resume -D /tmp/resume -n /opt/dev/resume/cv.adoc
asciidoctor -D /srv/http/resume -n cv.adoc
asciidoctor -D /srv/http/resume -n resume.adoc
asciidoctor-pdf -D /srv/http/resume/pdf -n -d article cv.adoc
asciidoctor-pdf -D /srv/http/resume/pdf -n -d article resume.adoc
else
asciidoctor -D /tmp/cv.html -n cv.adoc
asciidoctor -D /tmp/resume.html -n resume.adoc
asciidoctor-pdf -D /tmp -n -d article cv.adoc
asciidoctor-pdf -D /tmp -n -d article resume.adoc
fi