feat: Working justfile

This commit is contained in:
2024-11-23 23:58:09 -05:00
parent 048b032b7f
commit e4de42a961
6 changed files with 12 additions and 464 deletions

View File

@@ -8,7 +8,7 @@ ANSIBLE_DIR = ".ansible"
.PHONY: pdf
pdf: ansible
@./scripts/gen.sh "${BUILD_DIR}" "${PWD}/${PDF_TITLE}" \
&& open ${PDF_TITLE} \
&& open "${PDF_TITLE}" \
&& osascript ./scripts/notify.scpt
.PHONY: tex
@@ -20,14 +20,6 @@ html: ansible
@./scripts/gen.sh "${BUILD_DIR}" "${BUILD_DIR}/${HTML_TITLE}" \
&& open "${BUILD_DIR}/${HTML_TITLE}"
.PHONY: install
install:
@brew install pandoc \
mactex-no-gui \
imagemagick \
gettext \
ansible
.PHONY: ansible
ansible:
@cd "${ANSIBLE_DIR}" && \
@@ -41,7 +33,7 @@ ansible-vault-example:
--ask-vault-password \
--extra-vars "build_dir=${BUILD_DIR}" \
--extra-vars "@group_vars/vault_example/vars.yaml" \
--extra-vars "@group_vars/vault_example/vault.yaml" \
--extra-vars "@group_vars/vault_example/vault.yaml"
.PHONY: setup
setup:
@@ -51,3 +43,12 @@ setup:
.PHONY: clean
clean:
@rm -rf "${BUILD_DIR}"
.PHONY: install
install:
@brew install pandoc \
mactex-no-gui \
imagemagick \
gettext \
ansible \
just