build: embrace phonify

This commit is contained in:
Daylin Morgan 2023-02-12 16:15:59 -06:00
parent c56e2da260
commit ce312ce05c
2 changed files with 1 additions and 5 deletions

View file

@ -1,3 +1,4 @@
USAGE={a.b_magenta}daylin's logo{a.end}\n USAGE={a.b_magenta}daylin's logo{a.end}\n
PHONIFY = 1
-include .task.mk -include .task.mk
$(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v23.1.2/task.mk -o .task.mk)) $(if $(filter help,$(MAKECMDGOALS)),$(if $(wildcard .task.mk),,.task.mk: ; curl -fsSL https://raw.githubusercontent.com/daylinmorgan/task.mk/v23.1.2/task.mk -o .task.mk))

View file

@ -15,7 +15,6 @@ all:
@$(MAKE) docs/png/index.html @$(MAKE) docs/png/index.html
@$(MAKE) pngs @$(MAKE) pngs
.PHONY: pngs
pngs: $(PNGS) ## generate all of the logo pngs pngs: $(PNGS) ## generate all of the logo pngs
docs/png/index.html: docs/index.html docs/png/index.html: docs/index.html
@ -28,17 +27,14 @@ docs/png/index.html: docs/index.html
docs/png/%.png: docs/svg/%.svg docs/png/%.png: docs/svg/%.svg
@inkscape --export-filename=$@ $< @inkscape --export-filename=$@ $<
.PHONY: logos
svgs: $(SRC) ## generate all of the logo svgs svgs: $(SRC) ## generate all of the logo svgs
./generate-all.py $(REV) ./generate-all.py $(REV)
.PHONY: lint
lint: ## apply isort/black/flake8 lint: ## apply isort/black/flake8
@isort logo @isort logo
@black logo @black logo
@flake8 logo @flake8 logo
.PHONY: bootstrap pdm-env conda-env
bootstrap: pdm-env ## bootstrap the conda environment bootstrap: pdm-env ## bootstrap the conda environment
conda-env: conda-env:
@ -49,7 +45,6 @@ pdm-env: conda-env
pip install pdm; \ pip install pdm; \
pdm install pdm install
.PHONY: clean
clean: ## remove old files clean: ## remove old files
rm -f *.svg *.png rm -f *.svg *.png
rm -f docs/*.svg rm -f docs/*.svg