2022-08-12 17:03:00 -05:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
|
|
@echo "==> Generating SVGs <=="
|
2022-08-12 18:09:37 -05:00
|
|
|
@mkdir -p docs/svg
|
2022-08-12 17:03:00 -05:00
|
|
|
@$(MAKE) svgs
|
|
|
|
@echo "==> Generating PNGs <=="
|
2022-08-12 18:09:37 -05:00
|
|
|
@mkdir -p docs/png
|
2022-08-13 13:50:11 -05:00
|
|
|
@$(MAKE) docs/png/index.html
|
2022-08-12 17:03:00 -05:00
|
|
|
@$(MAKE) pngs
|
|
|
|
|
2023-04-21 08:39:19 -05:00
|
|
|
svgs: ## generate all svgs
|
2024-02-19 16:05:52 -06:00
|
|
|
nimble run -- --background none,square,circle --style light,dark --border --output docs/svg
|
|
|
|
nimble run -- --background none,square,circle --style light,dark --output docs/svg
|
2023-04-21 08:39:19 -05:00
|
|
|
|
|
|
|
pngs: ## generate all of the logo pngs
|
|
|
|
nimble pngs
|
|
|
|
|
|
|
|
ascii: ## generate all ascii variants
|
|
|
|
./scripts/ascii.nims
|
2022-08-12 17:03:00 -05:00
|
|
|
|
2022-08-13 13:50:11 -05:00
|
|
|
docs/png/index.html: docs/index.html
|
|
|
|
@cat docs/index.html |\
|
|
|
|
sed 's/svg/png/g' |\
|
|
|
|
sed 's/\.\/png/\./g' |\
|
|
|
|
sed s'/My Logos/My Logos but PNG/g' \
|
|
|
|
> docs/png/index.html
|
|
|
|
|
2024-02-19 16:05:52 -06:00
|
|
|
assets/logo.svg:
|
|
|
|
nimble run -- --background circle --style dark --animate --border --output assets/logo.svg
|
|
|
|
|
2023-02-06 11:42:12 -06:00
|
|
|
clean: ## remove old files
|
2022-08-12 17:03:00 -05:00
|
|
|
rm -f *.svg *.png
|
2022-08-12 18:06:53 -05:00
|
|
|
rm -f docs/*.svg
|
2022-08-12 17:03:00 -05:00
|
|
|
rm -f docs/svg/*
|
|
|
|
rm -f docs/png/*
|
|
|
|
|
2023-02-06 11:42:12 -06:00
|
|
|
-include .task.cfg.mk
|