Add static styling to the friendly_cat app

This commit is contained in:
coox 2020-05-11 19:57:17 +02:00
commit 4148b4f8cd
4 changed files with 67 additions and 5 deletions

View file

@ -1,4 +1,5 @@
.PHONY: \
build \
clean \
check_code_format \
format_code \
@ -9,7 +10,11 @@
run \
test
build:
python3 ./manage.py collectstatic
clean:
rm -rf static \
# https://stackoverflow.com/a/41386937/162086
python3 -Bc "for p in __import__('pathlib').Path('.').rglob('*.py[co]'): p.unlink()"; \
python3 -Bc "for p in __import__('pathlib').Path('.').rglob('__pycache__'): p.rmdir()"