Browse Source

More changes to the scripts that build the resume and the site

environments/production/deployments/9
Drew Short 9 years ago
parent
commit
3b95e534c8
  1. 3
      .gitignore
  2. 9
      build-html-docker.sh
  3. 2
      build-html.sh
  4. 3
      build-pdf-docker.sh

3
.gitignore

@ -1,3 +1,6 @@
out/
*.tar.gz
*~
*.xref
*.lg

9
build-html-docker.sh

@ -3,7 +3,10 @@
cd /source
# Script to build an HTML site from the PDF source
pdf2htmlEX --embed cfijo --dest-dir /source/out /source/DPSResume.pdf
pdf2htmlEX --embed cfijo --dest-dir out DPSResume.pdf
chown -R root:root out
chmod -R 666 out
tar -czvf ResumeSite.tar.gz out/*
chmod 777 *.tar.gz
tar -czvf ResumeSite.tar.gz -C out .
chmod 666 *.tar.gz
#rm -rf out

2
build-html.sh

@ -2,5 +2,3 @@
# Script to build an HTML site from the PDF source
docker run -d -v $(pwd):/source sothr/pdf2htmlex /usr/bin/env bash /source/build-html-docker.sh
tar -czvf ResumeSite.tar.gz out/*

3
build-pdf-docker.sh

@ -4,4 +4,5 @@ cd /source
# Script to build a PDF from the latex source
latex --output-format pdf DPSResume.tex
chmod 777 DPSResume.pdf
chmod 666 DPSResume.pdf
rm DPSResume.log
Loading…
Cancel
Save