Skip to content

Commit

Permalink
Update make commands after removing volume mapping from test compose f…
Browse files Browse the repository at this point in the history
…ixes #2295 (#2301)
  • Loading branch information
jaredlockhart authored Feb 21, 2020
1 parent 8d0bce8 commit 2296fd0
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,12 @@ black_check: test_build
black_fix: test_build
$(COMPOSE_TEST) run app sh -c "$(BLACK_FIX)"

code_format: test_build
$(COMPOSE_TEST) run app sh -c "$(BLACK_FIX)&&$(ESLINT_FIX)"
check_migrations: test_build
$(COMPOSE_TEST) run app sh -c "$(WAIT_FOR_DB) $(PYTHON_CHECK_MIGRATIONS)"

check_docs: test_build
$(COMPOSE_TEST) run app sh -c "$(CHECK_DOCS)"

generate_docs: test_build
$(COMPOSE_TEST) run app sh -c "$(GENERATE_DOCS)"

check_migrations: test_build
$(COMPOSE_TEST) run app sh -c "$(WAIT_FOR_DB) $(PYTHON_CHECK_MIGRATIONS)"

check: test_build
$(COMPOSE_TEST) run app sh -c "$(WAIT_FOR_DB) $(PYTHON_CHECK_MIGRATIONS)&&$(CHECK_DOCS)&&$(BLACK_CHECK)&&$(FLAKE8)&&$(ESLINT)&&$(PYTHON_TEST)&&$(JS_TEST)"

Expand All @@ -97,6 +91,12 @@ kill: compose_kill compose_rm volumes_rm
up: compose_kill compose_build
$(COMPOSE) up

generate_docs: compose_build
$(COMPOSE) run app sh -c "$(GENERATE_DOCS)"

code_format: compose_build
$(COMPOSE) run app sh -c "$(BLACK_FIX)&&$(ESLINT_FIX)"

makemigrations: compose_build
$(COMPOSE) run app python manage.py makemigrations

Expand Down

0 comments on commit 2296fd0

Please sign in to comment.