We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eba195 commit b99a3beCopy full SHA for b99a3be
1 file changed
README.md
@@ -47,9 +47,11 @@ If you would like to see if your lambda function builds properly, run:
47
$ docker run example-lambda-image lambda build
48
```
49
50
-If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon:
+If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon, and the build log in one command:
51
52
53
-$ docker run example-lambda-image sh -c 'rm -rf dist* && lambda build 2&>1 >/dev/null && tar -c dist/*.zip' | tar -x -v
54
-dist/2017-08-31-212523-example-lambda.zip
+$ docker run example-lambda-image sh -c 'rm -rf build.log dist || true && lambda build &>build.log && tar -c build.log dist' | tar -x -v
+build.log
55
+dist/
56
+dist/2017-09-01-003647-example-lambda.zip
57
0 commit comments