$(error "No virtualenv active. Try '. ./env/bin/activate'")
endif
+.PHONY: flake
+flake:
+ flake8 --exclude=env,.deploy*
+
.PHONY: bootstrap
bootstrap:
@echo "=== Creating python virtual environment ==="
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 .)