mirror of
https://github.com/daylinmorgan/logo.git
synced 2024-12-21 22:10:45 -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
|
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))
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue