12345678910111213141516171819202122232425262728293031323334353637383940 |
- # ---------- ---------- ---------- ---------- ---------- ----------
- #
- # fenrispunk_tools Makefile
- #
- # ---------- ---------- ---------- ---------- ---------- ----------
- target: help
- .PHONY: help
- help:
- @echo "Usage: make [PHONY]"
- @sed -n -e "/sed/! s/\.PHONY: //p" Makefile
- .PHONY: dev
- dev: fixed test safer
- .PHONY: fixed
- fixed:
- @black ./tests ./src/fenrispunk_tools ./bin/*
- .PHONY: safer
- safer:
- @mypy \
- src/fenrispunk_tools/config.py \
- src/fenrispunk_tools/utils/grid_tile_key.py \
- src/fenrispunk_tools/utils/standard.py \
- --disallow-untyped-defs \
- || echo "Try adding the path: export MYPYPATH=`pwd`/src/fenrispunk_tools"
- @echo ""
- .PHONY: test
- test:
- @python3 -m unittest discover -s tests -t .
|