summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-02-08 19:55:51 -0600
committerToby Vincent <tobyv13@gmail.com>2023-02-08 19:55:51 -0600
commit28db5df185a975322fdafc59e9d3a000ae3d90c8 (patch)
tree7ac351f4a4c422a4ffb29cb8acfe8ea61bb6b751
parente591bd23c98a80c45ca8d9249a6ae7002b299696 (diff)
build!: migrate from latexmk to tectonic
-rw-r--r--.build.yml20
-rw-r--r--Tectonic.toml42
-rw-r--r--src/_postamble.tex0
-rw-r--r--src/_preamble.tex0
-rw-r--r--src/index.tex7
-rw-r--r--src/isrg/resume.tex16
-rw-r--r--src/lacework/resume.tex16
-rw-r--r--src/long_view_systems/resume.tex16
-rw-r--r--src/mozilla/resume.tex6
-rw-r--r--src/preamble.tex1
-rw-r--r--src/resume/resume.tex14
-rw-r--r--src/scythe/resume.tex16
-rw-r--r--src/verana_health/resume.tex16
-rw-r--r--src/warp/resume.tex16
14 files changed, 76 insertions, 110 deletions
diff --git a/.build.yml b/.build.yml
index 160802f..08fd2e8 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,23 +1,15 @@
-image: alpine/latest
+image: archlinux
packages:
- - texlive
- - texmf-dist-most
+ - tectonic
sources:
- https://git.sr.ht/~tobyvin/resume
artifacts:
- - resume/build/resumes.tar.gz
- - resume/build/resume.pdf
- - resume/build/mozilla.pdf
- - resume/build/lacework.pdf
- - resume/build/verana_health.pdf
- - resume/build/long_view_systems.pdf
- - resume/build/scythe.pdf
- - resume/build/warp.pdf
- - resume/build/isrg.pdf
+ - resume.pdf
+ - resumes.tar.gz
tasks:
- build: |
cd resume
- for f in $(find . -type f -name resume.tex); do latexmk "$f" -jobname="$(printf %s "$f" | cut -d/ -f3)"; done
+ tectonic -X build
- publish: |
- cd resume/build
+ find resume/build -type f -name *.pdf -exec mv {} . \;
tar -czvf resumes.tar.gz *.pdf
diff --git a/Tectonic.toml b/Tectonic.toml
new file mode 100644
index 0000000..b3eaf8c
--- /dev/null
+++ b/Tectonic.toml
@@ -0,0 +1,42 @@
+[doc]
+name = 'resume'
+bundle = 'https://data1.fullyjustified.net/tlextras-2022.0r0.tar'
+
+[[output]]
+name = 'resume'
+type = 'pdf'
+
+[[output]]
+name = 'isrg'
+type = 'pdf'
+index = 'isrg/resume.tex'
+
+[[output]]
+name = 'lacework'
+type = 'pdf'
+index = 'lacework/resume.tex'
+
+[[output]]
+name = 'long_view_systems'
+type = 'pdf'
+index = 'long_view_systems/resume.tex'
+
+[[output]]
+name = 'mozilla'
+type = 'pdf'
+index = 'mozilla/resume.tex'
+
+[[output]]
+name = 'scythe'
+type = 'pdf'
+index = 'scythe/resume.tex'
+
+[[output]]
+name = 'verana_health'
+type = 'pdf'
+index = 'verana_health/resume.tex'
+
+[[output]]
+name = 'warp'
+type = 'pdf'
+index = 'warp/resume.tex'
diff --git a/src/_postamble.tex b/src/_postamble.tex
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/_postamble.tex
diff --git a/src/_preamble.tex b/src/_preamble.tex
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/_preamble.tex
diff --git a/src/index.tex b/src/index.tex
new file mode 100644
index 0000000..1ef62ea
--- /dev/null
+++ b/src/index.tex
@@ -0,0 +1,7 @@
+\input{preamble}
+
+\begin{document}
+
+\input{resume/resume}
+
+\end{document}
diff --git a/src/isrg/resume.tex b/src/isrg/resume.tex
index 4e19224..4bbb4ec 100644
--- a/src/isrg/resume.tex
+++ b/src/isrg/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Internet Security Research Group\\San Francisco, California}
\date{\today}
@@ -33,18 +33,6 @@ discussing it further.
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}
diff --git a/src/lacework/resume.tex b/src/lacework/resume.tex
index 8e9e977..4ec9d75 100644
--- a/src/lacework/resume.tex
+++ b/src/lacework/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Lacework\\Mountain View, California}
\date{\today}
@@ -26,18 +26,6 @@ maintanable code, provide unique qualifications for this opportunity.
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}
diff --git a/src/long_view_systems/resume.tex b/src/long_view_systems/resume.tex
index c2306da..e09e0d2 100644
--- a/src/long_view_systems/resume.tex
+++ b/src/long_view_systems/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Long View Systems\\Calgary, Alberta}
\date{\today}
@@ -26,18 +26,6 @@ producing reliable and maintainable code, provide unique qualifications for this
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}
diff --git a/src/mozilla/resume.tex b/src/mozilla/resume.tex
index 2ab9078..03d72e7 100644
--- a/src/mozilla/resume.tex
+++ b/src/mozilla/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Mozilla\\Portland, OR }
\date{\today}
@@ -25,4 +25,8 @@ qualifications for this opportunity.
\makeletterclosing{}
+\pagebreak
+
+\input{resume/resume}
+
\end{document}
diff --git a/src/preamble.tex b/src/preamble.tex
index d200c07..223c3c4 100644
--- a/src/preamble.tex
+++ b/src/preamble.tex
@@ -2,7 +2,6 @@
\usepackage[utf8]{inputenc}
\usepackage[top=0.9cm, bottom=0.6cm, left=2cm, right=2cm]{geometry}
-\usepackage{standalone}
\moderncvtheme[blue]{classic}
\setlength{\hintscolumnwidth}{2.8cm}
diff --git a/src/resume/resume.tex b/src/resume/resume.tex
index da25194..fda9a31 100644
--- a/src/resume/resume.tex
+++ b/src/resume/resume.tex
@@ -1,19 +1,13 @@
-\input{../preamble}
-
-\begin{document}
-
\makecvtitle{}
\pagebreak[1]
-\input{education}
+\input{resume/education}
\pagebreak[1]
-\input{experience}
+\input{resume/experience}
\pagebreak[1]
-\input{skills}
+\input{resume/skills}
\pagebreak[1]
-\input{projects}
-
-\end{document}
+\input{resume/projects}
diff --git a/src/scythe/resume.tex b/src/scythe/resume.tex
index b04380a..0804a3f 100644
--- a/src/scythe/resume.tex
+++ b/src/scythe/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Scythe Robotics\\Boulder, Colorado}
\date{\today}
@@ -32,18 +32,6 @@ producing reliable and maintainable code, provide unique qualifications for this
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}
diff --git a/src/verana_health/resume.tex b/src/verana_health/resume.tex
index 334336e..5cae10c 100644
--- a/src/verana_health/resume.tex
+++ b/src/verana_health/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Verana Health\\San Francisco, California}
\date{\today}
@@ -27,18 +27,6 @@ opportunity.
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}
diff --git a/src/warp/resume.tex b/src/warp/resume.tex
index abb3256..30babe4 100644
--- a/src/warp/resume.tex
+++ b/src/warp/resume.tex
@@ -1,4 +1,4 @@
-\input{../preamble}
+\input{preamble}
\recipient{HR Department}{Warp\\New York, NY }
\date{\today}
@@ -31,18 +31,6 @@ discussing it further.
\pagebreak
-\makecvtitle{}
-
-\pagebreak[1]
-\input{../resume/education}
-
-\pagebreak[1]
-\input{../resume/experience}
-
-\pagebreak[1]
-\input{../resume/skills}
-
-\pagebreak[1]
-\input{../resume/projects}
+\input{resume/resume}
\end{document}