From: Carl Worth Date: Wed, 30 Dec 2020 20:19:19 +0000 (-0700) Subject: Require flake8 to pass before performing deployment X-Git-Url: https://git.cworth.org/git?p=turbot;a=commitdiff_plain;h=e1ddc4bcbd61e91b7071e83ce8cbc8c0d28ec14e 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. --- 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 .)