From b42a3c8c6e44621a983bc9f88aa5eb02ffd763ab Mon Sep 17 00:00:00 2001 From: AJ Bahnken Date: Wed, 31 Jan 2018 15:54:34 -0800 Subject: [PATCH] Have make targets follow new conventions --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0225bc1..66f9d0e 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,8 @@ AWS_PROFILE := default all: check_venv pytest -awsci: clean-aws-ci +awsci: check_venv + pytest --cache-clear aws/ --aws-profiles $(AWS_PROFILE) --json=results-$(AWS_PROFILE)-$(TODAY).json check_venv: ifeq ($(VIRTUAL_ENV),) @@ -21,11 +22,8 @@ clean: clean-cache clean-cache: check_venv pytest --cache-clear --aws-profiles $(AWS_PROFILE) -clean-aws-ci: - pytest --cache-clear aws/ --aws-profiles $(AWS_PROFILE) --json=results-$(AWS_PROFILE)-$(TODAY).json - doctest: check_venv - for f in $$(find . -name '*.py' | grep -vP '(venv|test|resources|init)'); do python -m doctest $$f; done + for f in $(shell find . -name '*.py' | grep -vP '(venv|test|resources|init)'); do python -m doctest $$f; done flake8: check_venv flake8 --max-line-length 120 $(shell find . -name '*.py' -not -path "./venv/*")