ReachableCEO-Profile-FullTi.../non-cv/build.sh

49 lines
1.4 KiB
Bash

#!/bin/bash
rm ./output/intermediate/CharlesNWybleShortResume.md
# todo. html version.
#rm /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html
IntermediateOutputFile="./output/intermediate/CharlesNWybleShortResume.md"
# Combine markdown files into single input file for pandoc
NonCvResumeInputFiles=(
"../@ReachableCEO/Resume/Non-CV/Skills.md"
"../@ReachableCEO/Resume/Non-CV/Projects.md"
)
#Pull in my contact info
cat "../common/@ReachableCEO/Resume/Common/Contact-Info.md" >> $IntermediateOutputFile
echo " " >> $IntermediateOutputFile
#Pull in my skills
cat "../common/@ReachableCEO/Resume/Common/Skills.md" >> $IntermediateOutputFile
echo " " >> $IntermediateOutputFile
#Pull in my projects
cat "./@ReachableCEO/Resume/Non-Cv/Projects.md" >> $IntermediateOutputFile
echo " " >> $IntermediateOutputFile
#Pull in my work history
cat "../common/WorkHistory.md" >> $IntermediateOutputFile
echo " " >> $IntermediateOutputFile
#Pull in my education info
cat "../common/@ReachableCEO/Resume/common/Education.md" >> $IntermediateOutputFile
echo " " >> $IntermediateOutputFile
# Run pandoc to generate HTML/PDF/DOC into output dir
#First html, for resume.reachableceo.com use
pandoc \
$IntermediateOutputFile \
--template eisvogel \
--metadata-file=../common/HumanOutput.yml \
--from markdown \
--to=pdf \
--output /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.pdf