MarkdownResume-Pipeline/build/build-all.sh

25 lines
1.0 KiB
Bash
Raw Normal View History

2024-12-09 18:43:23 +00:00
#!/usr/bin/env bash
2024-12-09 18:15:58 +00:00
2024-12-09 18:43:23 +00:00
# shellcheck disable=SC1091
#source "$(dirname "${BASH_SOURCE[0]}")/bash3boilerplate.sh"
2024-12-09 18:15:58 +00:00
# Setup globals
#readonly BUILD_OUTPUT_DIR="../build-output"
2024-12-09 18:43:23 +00:00
readonly BUILD_TEMP_DIR="../build-temp"
readonly BUILDYAML_JOBBOARD="$BUILD_TEMP_DIR/JobBoard.yml"
readonly BUILDYAML_CLIENTSUBMISSION="$BUILD_TEMP_DIR/ClientSubmission.yml"
#TODO make this work. For now, editing this script and setting the below export lines is required.
#source ./ResumeVariables.env
2024-12-09 18:43:23 +00:00
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"
2024-12-09 18:43:23 +00:00
# Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts
2024-12-09 18:15:58 +00:00
./mo ./BuildTemplate-JobBoard.yml > $BUILDYAML_JOBBOARD
./mo ./BuildTemplate-ClientSubmission.yml > $BUILDYAML_CLIENTSUBMISSION