This commit is contained in:
Lucas F. 2024-02-11 12:18:37 -03:00
commit 39cd44d022
54 changed files with 2144 additions and 0 deletions

40
Makefile Normal file
View file

@ -0,0 +1,40 @@
.DEFAULT_GOAL = default
SCRIPT = contrib/scripts/make_scripts.sh
## @ env
.PHONY: env
env: ## creates a .env file
@./${SCRIPT} make_env_file
## @ task
.PHONY: check run shell_plus clear_migrations show_migrations migrations migrate elements
check: ## same as manage.py check
@./${SCRIPT} check
run: ## same as manage.py run server
@./${SCRIPT} run
shell_plus: ## same as .manage.py shell_plus
@./${SCRIPT} shell_plus
clear_migrations: ## same as manage.py showmigrations
@./${SCRIPT} clear_migrations
show_migrations: ## same as manage.py showmigrations
@./${SCRIPT} show_migrations
migrations: ## same as manage.py makemigrations
@./${SCRIPT} migrations
migrate: ## same as manage.py migrate
@./${SCRIPT} migrate
elements: ## create initial app elements
@./${SCRIPT} elements
## @ help
.PHONY: help
help: ## display all make commands
@./${SCRIPT} help $(MAKEFILE_LIST)
default: help