You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
910 B

.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} show_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