diff --git a/build-temp/BuildClientSubmision.yml b/build-temp/BuildClientSubmision.yml deleted file mode 100644 index e69de29..0000000 diff --git a/build-temp/BuildJobBoard.yml b/build-temp/BuildJobBoard.yml deleted file mode 100644 index e69de29..0000000 diff --git a/build-temp/ClientSubmission.yml b/build-temp/ClientSubmission.yml new file mode 100644 index 0000000..d14a5b3 --- /dev/null +++ b/build-temp/ClientSubmission.yml @@ -0,0 +1,7 @@ +title: "First Middle Last Resume" +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "First Middle Last" +urlcolor: blue +page-background: "../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds" \ No newline at end of file diff --git a/build-temp/JobBoard.yml b/build-temp/JobBoard.yml new file mode 100644 index 0000000..1f7252b --- /dev/null +++ b/build-temp/JobBoard.yml @@ -0,0 +1,12 @@ +title: "First Middle Last Resume" +titlepage: true +titlepage-logo: "" +date: \today +header-left: "\\hspace{1cm}" +header-center: "\\leftmark" +header-right: "Page \\thepage" +footer-left: "First Middle Last" +footer-center: "Your.Tagline.Here." +footer-right: "[Source code for this resume](https://github.com/reachableceo)" +urlcolor: blue +page-background: "../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds" \ No newline at end of file diff --git a/build/MarkdownResume-TemplateInfo-EndClientVersion.yml b/build/BuildTemplate-ClientSubmission.yml similarity index 100% rename from build/MarkdownResume-TemplateInfo-EndClientVersion.yml rename to build/BuildTemplate-ClientSubmission.yml diff --git a/build/MarkdownResume-TemplateInfo-JobBoard.yml b/build/BuildTemplate-JobBoard.yml similarity index 89% rename from build/MarkdownResume-TemplateInfo-JobBoard.yml rename to build/BuildTemplate-JobBoard.yml index f6b2d5c..af26032 100644 --- a/build/MarkdownResume-TemplateInfo-JobBoard.yml +++ b/build/BuildTemplate-JobBoard.yml @@ -7,6 +7,6 @@ header-center: "\\leftmark" header-right: "Page \\thepage" footer-left: "{{CandidateName}}" footer-center: "{{CandidateTagline}}" -footer-right: "[Source code for this resume]({{ResumeSourceCode}}" +footer-right: "[Source code for this resume]({{ResumeSourceCode}})" urlcolor: {{URLCOLOR}} page-background: "{{PAGEBACKGROUND}}" \ No newline at end of file diff --git a/build/build-all.sh b/build/build-all.sh index a343efc..f97bef6 100644 --- a/build/build-all.sh +++ b/build/build-all.sh @@ -1,25 +1,25 @@ #!/usr/bin/env bash # shellcheck disable=SC1091 -source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh" - -# Load environment variables -source "./ResumeVariables.env" +#source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh" # Setup globals +#readonly BUILD_OUTPUT_DIR="../build-output" readonly BUILD_TEMP_DIR="../build-temp" -readonly BUILD_OUTPUT_DIR="../build-output" -readonly BUILD_YAML_JOB_BOARD="$BUILD_TEMP_DIR/BuildJobBoard.yml" -readonly BUILD_YAML_CLIENT_SUBMISSION="$BUILD_TEMP_DIR/BuildClientSubmission.yml" +readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml" +readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml" -readonly CANDIDATE_NAME="$CandidateName" -readonly CANDIDATE_LOGO="$CandidateLogo" -readonly CANDIDATE_TAGLINE="$CandidateTagline" -readonly RESUME_SOURCE_CODE="$ResumeSourceCode" -readonly URL_COLOR="$URLCOLOR" -readonly PAGE_BACKGROUND="$PAGEBACKGROUND" +#TODO make this work. For now, editing this script and setting the below export lines is required. +#source ./ResumeVariables.env -# Expand variables into rendered YAML files -./mo "MarkdownResume-BuildTemplateInput-ClientSubmission.yml" > "$BUILD_YAML_CLIENT_SUBMISSION" -./mo "MarkdownResume-BuildTemplateInput-JobBoard.yml" > "$BUILD_YAML_JOB_BOARD" +export CandidateName="First Middle Last" +export CandidateLogo="" +export CandidateTagline="Your.Tagline.Here." +export ResumeSourceCode="https://git.knownelement.com/reachableceo/MarkdownResume-Pipeline" +export URLCOLOR="blue" +export PAGEBACKGROUND="../vendor/git.knownelement.com/ExternalVendorCode/pandoc-latex-template/examples/page-background/backgrounds" +# Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts + +./mo ./BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD +./mo ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION \ No newline at end of file