resume/build.sh

16 lines
421 B
Bash
Raw Normal View History

source $stdenv/setup
# Compile Sass sources and get resume file
mkdir build && cd build
mkdir css && sassc $src/scss/style.scss css/style.css
2023-02-19 22:22:23 -08:00
mkdir font && cp $src/font/* font/
cp $src/resume.html resume.html
mkdir $out
# Save generated files
cp resume.html $out
mkdir $out/css && cp ./css/style.css $out/css
chromium --disable-gpu --headless --print-to-pdf="$out/Resume-Danila-Fedorin.pdf" file://$(pwd)/resume.html