Add static styling to the friendly_cat app
This commit is contained in:
parent
79c5a14c70
commit
4148b4f8cd
4 changed files with 67 additions and 5 deletions
5
Makefile
5
Makefile
|
|
@ -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()"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue