21 lines
1.4 KiB
Makefile
21 lines
1.4 KiB
Makefile
all: help
|
||
|
||
help:
|
||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||
@echo "ℹ️ Available commands ℹ️"
|
||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||
@echo "⭐️ help : Show this message"
|
||
@echo "⭐️ clean : Removes all python cache and temporary files"
|
||
@echo "⭐️ run : Runs the application using docker-compose"
|
||
@echo "―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――"
|
||
|
||
clean:
|
||
@find . -name '*.pyc' -exec rm -f {} +
|
||
@find . -name '*.pyo' -exec rm -f {} +
|
||
@find . -name '*~' -exec rm -f {} +
|
||
@find . -name '__pycache__' -exec rm -fr {} +
|
||
|
||
|
||
run:
|
||
@docker-compose up
|