mirror of
https://github.com/daylinmorgan/logo.git
synced 2024-12-21 14:10:43 -06:00
build: embrace phonify
This commit is contained in:
parent
c56e2da260
commit
ce312ce05c
2 changed files with 1 additions and 5 deletions
|
@ -1,3 +1,4 @@
|
|||
USAGE={a.b_magenta}daylin's logo{a.end}\n
|
||||
PHONIFY = 1
|
||||
-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))
|
||||
|
|
5
Makefile
5
Makefile
|
@ -15,7 +15,6 @@ all:
|
|||
@$(MAKE) docs/png/index.html
|
||||
@$(MAKE) pngs
|
||||
|
||||
.PHONY: pngs
|
||||
pngs: $(PNGS) ## generate all of the logo pngs
|
||||
|
||||
docs/png/index.html: docs/index.html
|
||||
|
@ -28,17 +27,14 @@ docs/png/index.html: docs/index.html
|
|||
docs/png/%.png: docs/svg/%.svg
|
||||
@inkscape --export-filename=$@ $<
|
||||
|
||||
.PHONY: logos
|
||||
svgs: $(SRC) ## generate all of the logo svgs
|
||||
./generate-all.py $(REV)
|
||||
|
||||
.PHONY: lint
|
||||
lint: ## apply isort/black/flake8
|
||||
@isort logo
|
||||
@black logo
|
||||
@flake8 logo
|
||||
|
||||
.PHONY: bootstrap pdm-env conda-env
|
||||
bootstrap: pdm-env ## bootstrap the conda environment
|
||||
|
||||
conda-env:
|
||||
|
@ -49,7 +45,6 @@ pdm-env: conda-env
|
|||
pip install pdm; \
|
||||
pdm install
|
||||
|
||||
.PHONY: clean
|
||||
clean: ## remove old files
|
||||
rm -f *.svg *.png
|
||||
rm -f docs/*.svg
|
||||
|
|
Loading…
Reference in a new issue