now using the rcdoc build pipeline!
This commit is contained in:
48
CurrentResume/non-cv/build.sh
Normal file
48
CurrentResume/non-cv/build.sh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/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 "./@ReachableCEO/Resume/Non-CV/Work-History.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 \
|
||||
$HumanIntermediateOutputFile \
|
||||
--template eisvogel \
|
||||
--metadata-file=../common/HumanOutput.yml \
|
||||
--from markdown \
|
||||
--to=pdf \
|
||||
--output /d/tsys/@ReachableCEO/resume.reachableceo.com/cv/CharlesNWybleShortResume.pdf
|
@@ -1,44 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm ../output/intermediate/CharlesNWybleShortResume.md
|
||||
rm /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html
|
||||
|
||||
output_file="../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" >> $output_file
|
||||
echo " " >> $output_file
|
||||
|
||||
#Pull in my skills
|
||||
cat "../../common/@ReachableCEO/Resume/Common/Skills.md" >> $output_file
|
||||
echo " " >> $output_file
|
||||
|
||||
#Pull in my projects
|
||||
cat "../@ReachableCEO/Resume/Non-CV/Projects.md" >> $output_file
|
||||
echo " " >> $output_file
|
||||
|
||||
#Pull in my work history
|
||||
cat "../@ReachableCEO/Resume/Non-CV/Work-History.md" >> $output_file
|
||||
echo " " >> $output_file
|
||||
|
||||
#Pull in my education info
|
||||
cat "../../common/@ReachableCEO/Resume/Common/Education.md" >> $output_file
|
||||
|
||||
# Run pandoc to generate HTML/PDF/DOC into output dir
|
||||
|
||||
#First html, for resume.reachableceo.com use
|
||||
|
||||
pandoc \
|
||||
--from=markdown \
|
||||
--to=html \
|
||||
-o /d/tsys/@ReachableCEO/resume.reachableceo.com/non-cv/CharlesNWybleShortResume.html \
|
||||
-c resume-css-stylesheet.css \
|
||||
$output_file
|
@@ -77,4 +77,4 @@ Work history
|
||||
Education
|
||||
---------
|
||||
|
||||
High School Graduate
|
||||
High School Graduate
|
||||
|
Reference in New Issue
Block a user