From 444aed1ab2785360b2a89237428f629585e171a4 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Tue, 1 Mar 2016 15:37:00 -0500 Subject: [PATCH] Switch make init to use manage.py directly instead of awx-manage, saves from having to install in order to do an init --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 744b5fa305..39e76bbc4d 100644 --- a/Makefile +++ b/Makefile @@ -273,9 +273,9 @@ version_file: # Do any one-time init tasks. init: @if [ "$(VIRTUAL_ENV)" ]; then \ - awx-manage register_instance --primary --hostname=127.0.0.1; \ + $(PYTHON) manage.py register_instance --primary --hostname=127.0.0.1; \ else \ - sudo awx-manage register_instance --primary --hostname=127.0.0.1; \ + sudo $(PYTHON) manage.py register_instance --primary --hostname=127.0.0.1; \ fi # Refresh development environment after pulling new code. @@ -358,7 +358,7 @@ pylint: reports @(set -o pipefail && $@ | reports/$@.report) check: flake8 pep8 # pyflakes pylint - + # Run all API unit tests. test: py.test awx/main/tests awx/api/tests awx/fact/tests