final makefile.

This commit is contained in:
publicmatt 2023-12-18 18:12:20 -08:00
parent 9af672906c
commit fca9824d8a
1 changed files with 5 additions and 1 deletions

View File

@ -1,12 +1,16 @@
PYTHON=.venv/bin/python PYTHON=.venv/bin/python
.PHONY: build install .PHONY: build install commit
all: build commit
install: requirements.txt install: requirements.txt
$(PYTHON) -m pip install -r $^ $(PYTHON) -m pip install -r $^
build: build-svg.py template.svg build: build-svg.py template.svg
$(PYTHON) $< $(PYTHON) $<
commit: chat.svg
git add '*.svg' && \ git add '*.svg' && \
GIT_AUTHOR_NAME='publicmatt' GIT_AUTHOR_EMAIL='git@publicmatt.com' \ GIT_AUTHOR_NAME='publicmatt' GIT_AUTHOR_EMAIL='git@publicmatt.com' \
GIT_COMMITTER_NAME='publicmatt' GIT_COMMITTER_EMAIL='git@publicmatt.com' \ GIT_COMMITTER_NAME='publicmatt' GIT_COMMITTER_EMAIL='git@publicmatt.com' \