Lots of updates
This commit is contained in:
24
Makefile
24
Makefile
@@ -2,8 +2,8 @@ USER=paul
|
||||
FILE_NAME?=paul-halvorsen-resume
|
||||
TEMPLATE?=jb2resume-modern
|
||||
|
||||
NAME=build-paul-resume
|
||||
CONTAINER_NAME=${NAME}-container
|
||||
NAME=localhost/build-paul-resume
|
||||
CONTAINER_NAME=build-paul-resume-container
|
||||
|
||||
USER_ID=$(shell id -u ${USER})
|
||||
GROUP_ID=$(shell id -g ${USER})
|
||||
@@ -17,7 +17,24 @@ endif
|
||||
# - jb2resume: Classic template (original)
|
||||
# - jb2resume-modern: Improved with better spacing and typography
|
||||
# - awesome-cv: Modern Awesome-CV based template
|
||||
.PHONY: resume resume-modern resume-awesome help clean cleanpaper cleanpodman cleanall
|
||||
.PHONY: resume resume-modern resume-awesome resume-ats cover-letter help clean cleanpaper cleanpodman cleanall
|
||||
|
||||
cover-letter: .podman-build
|
||||
podman run --rm \
|
||||
--volume "$(realpath .)":/data \
|
||||
--name ${CONTAINER_NAME} \
|
||||
${NAME} \
|
||||
${FILE_NAME}.md -f markdown --template templates/cover-letter.latex -o ${FILE_NAME}.pdf
|
||||
@echo "✓ Generated ${FILE_NAME}.pdf (cover letter)"
|
||||
|
||||
resume-ats: TEMPLATE=jb2resume-ats
|
||||
resume-ats: .podman-build
|
||||
podman run --rm \
|
||||
--volume "$(realpath .)":/data \
|
||||
--name ${CONTAINER_NAME} \
|
||||
${NAME} \
|
||||
${FILE_NAME}.md -f markdown+yaml_metadata_block --template templates/jb2resume-ats.latex -o ${FILE_NAME}.pdf
|
||||
@echo "✓ Generated ${FILE_NAME}.pdf (template: jb2resume-ats)"
|
||||
|
||||
resume: TEMPLATE=jb2resume
|
||||
resume: .podman-build
|
||||
@@ -59,6 +76,7 @@ help:
|
||||
@echo " make resume FILE_NAME=path/to/resume # Classic jb2resume"
|
||||
@echo " make resume-modern FILE_NAME=path/to/resume # Modern improved template"
|
||||
@echo " make resume-awesome FILE_NAME=path/to/resume # Awesome-CV inspired template"
|
||||
@echo " make resume-ats FILE_NAME=path/to/resume # ATS-optimized single-column"
|
||||
@echo ""
|
||||
@echo "Examples:"
|
||||
@echo " make resume-modern FILE_NAME=files/paul-halvorsen-files-backend-engineer"
|
||||
|
||||
Reference in New Issue
Block a user