- Created new profile files for various programming languages (embedded, Go, Java, web, C++, C#, etc.) in both English and Swedish. - Added localization support with YAML files for English and Swedish, including meta information, sections, labels, and sidebar content. - Developed a template for rendering the CV with a structured layout, including sections for profile, experience, education, and skills. - Implemented build scripts for compiling Typst files into PDF format for both PowerShell and shell environments. Co-authored-by: Copilot <copilot@github.com>
17 lines
408 B
Bash
17 lines
408 B
Bash
#!/usr/bin/env sh
|
|
set -eu
|
|
|
|
REPO_ROOT=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
|
|
if command -v typst >/dev/null 2>&1; then
|
|
TYPST=typst
|
|
else
|
|
echo "Typst CLI was not found in PATH." >&2
|
|
exit 1
|
|
fi
|
|
|
|
find "$REPO_ROOT/publishing" -type f -name '*.typ' | sort | while IFS= read -r file; do
|
|
output="${file%.typ}.pdf"
|
|
echo "Compiling $file"
|
|
"$TYPST" compile --root "$REPO_ROOT" "$file" "$output"
|
|
done |