Skip to content

Commit b99a3be

Browse files
Update README.md
1 parent 0eba195 commit b99a3be

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,11 @@ If you would like to see if your lambda function builds properly, run:
4747
$ docker run example-lambda-image lambda build
4848
```
4949

50-
If you would like to get a ZIP file of the lambda function suitable for uploading to Amazon:
50+
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:
5151

5252
```
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
53+
$ 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
54+
build.log
55+
dist/
56+
dist/2017-09-01-003647-example-lambda.zip
5557
```

0 commit comments

Comments
 (0)