Browse Source

Movendo script check_migrations.sh para a pasta scripts

Signed-off-by: Eliseu Egewarth <eliseuegewarth@gmail.com>
pull/1933/head
Eliseu Egewarth 8 years ago
parent
commit
de17ab6eca
  1. 1
      scripts/django/check_migrations.sh

1
check_migrations.sh → scripts/django/check_migrations.sh

@ -11,6 +11,7 @@
# A chamada do django 1.10 INVERTE ISSO.
#
# https://docs.djangoproject.com/en/1.10/ref/django-admin/#cmdoption-makemigrations-check
git_project_root=$(git rev-parse --show-toplevel)
if python ${git_project_root}/manage.py makemigrations --dry-run --exit > /dev/null; then
NC='\033[0m'
Loading…
Cancel
Save