.profile/Makefile

21 lines
447 B
Makefile
Raw Normal View History

2023-12-18 18:03:22 -08:00
PYTHON=.venv/bin/python
2023-12-18 18:12:20 -08:00
.PHONY: build install commit
all: build commit
2023-12-18 18:03:22 -08:00
install: requirements.txt
$(PYTHON) -m pip install -r $^
build: build-svg.py template.svg
$(PYTHON) $<
2023-12-18 18:12:20 -08:00
commit: chat.svg
2023-12-18 18:03:22 -08:00
git add '*.svg' && \
GIT_AUTHOR_NAME='publicmatt' GIT_AUTHOR_EMAIL='git@publicmatt.com' \
GIT_COMMITTER_NAME='publicmatt' GIT_COMMITTER_EMAIL='git@publicmatt.com' \
git commit -m "Auto-updating git readme"
git push publicmatt
git push github