From e1ddc4bcbd61e91b7071e83ce8cbc8c0d28ec14e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 30 Dec 2020 13:19:19 -0700 Subject: [PATCH] Require flake8 to pass before performing deployment Trying to speed up debug cycles by catching errors without having to wait for them to show up in CloudWatch logs. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 606418e..3b62ba8 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,7 @@ deploy-flask: deploy-lambda: rm -rf .deploy-lambda-source git clone . .deploy-lambda-source + make -C .deploy-lambda-source flake make -C .deploy-lambda-source bootstrap (cd .deploy-lambda-source; . env/bin/activate; make reqs) (cd .deploy-lambda-source/env/lib/python*/site-packages; zip -r ../../../../turbot.zip .) -- 2.43.0