X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=Makefile;fp=Makefile;h=f9c987d6076f0a359eca326412b6dc6002bfdbf7;hb=251ec9ee2460cab2a15af4d4e7dfbceb7cd22b10;hp=9c4f334e04b8f85b08b0889236ce647329ce6b41;hpb=a377e260992b6ab2949d5dfe4b835caae4980e4f;p=turbot diff --git a/Makefile b/Makefile index 9c4f334..f9c987d 100644 --- a/Makefile +++ b/Makefile @@ -76,6 +76,9 @@ deploy-flask: deploy-lambda: rm -rf .deploy-lambda-source git clone . .deploy-lambda-source + make -C .deploy-lambda-source bootstrap + (cd .deploy-lambda-source; . env/bin/activate; make reqs) + (cd .deploy-lambda-source/env/lib/python3.8/site-packages; zip -r ../../../../turbot.zip .) (cd .deploy-lambda-source/turbot_lambda; zip ../turbot.zip turbot_lambda.py) (cd .deploy-lambda-source; zip turbot.zip $$(git ls-files -- turbot)) (cd .deploy-lambda-source; \