Skip to content

Commit

Permalink
update makefile creation zip (#76)
Browse files Browse the repository at this point in the history
* update makefile creation zip

* add cloudwatch
  • Loading branch information
resdenia authored May 22, 2023
1 parent 27bc06a commit 660c73a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions python3/cloudwatch/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
build:
mkdir -p dist/
zip -j dist/logzio-cloudwatch-log-shipper.zip src/lambda_function.py ../shipper/shipper.py
mkdir -p dist/python3/shipper
cp src/lambda_function.py dist
cp ../shipper/shipper.py dist/python3/shipper

(cd dist/ && zip -r logzio-cloudwatch-log-shipper.zip lambda_function.py python3/shipper/*)

clean:
rm -rf dist/
7 changes: 5 additions & 2 deletions python3/kinesis/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
build:
mkdir -p dist/
zip -j dist/logzio-kinesis-log-shipper.zip src/lambda_function.py ../shipper/shipper.py
mkdir -p dist/python3/shipper
cp src/lambda_function.py dist
cp ../shipper/shipper.py dist/python3/shipper

(cd dist/ && zip -r logzio-kinesis-log-shipper.zip lambda_function.py python3/shipper/*)

clean:
rm -rf dist/

0 comments on commit 660c73a

Please sign in to comment.