Skip to content

Commit 38fd15d

Browse files
committedDec 6, 2019
Add: package.sh
1 parent 12a15a6 commit 38fd15d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
# Created by https://www.gitignore.io/api/python,osx,windows,intellij
33

4+
package
5+
*.zip
46
README.rst
57

68
### Python ###

‎package.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/usr/bin/env bash
2+
pip3 install --target ./package moesif_aws_lambda
3+
cd package
4+
zip -r9 ${OLDPWD}/function.zip .
5+
cd $OLDPWD
6+
zip -g function.zip lambda_function.py

0 commit comments

Comments
 (0)
Please sign in to comment.