From 36e57071f2da6124a07082751527710363f8dd62 Mon Sep 17 00:00:00 2001 From: Jim Rosser Date: Fri, 20 Nov 2015 08:23:57 -0600 Subject: [PATCH] Added some sane ignore defaults to the configuration examples --- README.md | 6 +++++- README.rst | 9 +++++++-- example/lambda.json | 6 +++++- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e2feefd..332bb35 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,11 @@ Example lambda.json file: "handler": "function.lambda_handler", "role": "arn:aws:iam::00000000000:role/lambda_basic_execution", "requirements": ["pygithub"], - "ignore": ["circle.yml"], + "ignore": [ + "circle.yml", + ".git", + "*.pyc" + ], "timeout": 30, "memory": 512 } diff --git a/README.rst b/README.rst index 7d6c042..eaa1676 100644 --- a/README.rst +++ b/README.rst @@ -42,7 +42,11 @@ Example lambda.json file: "handler": "function.lambda_handler", "role": "arn:aws:iam::00000000000:role/lambda_basic_execution", "requirements": ["pygithub"], - "ignore": ["circle.yml"], + "ignore": [ + "circle.yml", + ".git", + "*.pyc" + ], "timeout": 30, "memory": 512 } @@ -64,7 +68,8 @@ To specify an alternative profile that has been defined in lambda-uploader --profile=alternative-profile -To specify an alternative, prexisting virtualenv use the ``--virtualenv`` parameter. +To specify an alternative, prexisting virtualenv use the +``--virtualenv`` parameter. .. code:: shell diff --git a/example/lambda.json b/example/lambda.json index 7148a5b..bdf786a 100644 --- a/example/lambda.json +++ b/example/lambda.json @@ -5,7 +5,11 @@ "handler": "function.lambda_handler", "role": "arn:aws:iam::00000000000:role/lambda_basic_execution", "requirements": ["Jinja2==2.8"], - "ignore": ["circle.yml"], + "ignore": [ + "circle.yml", + ".git", + "*.pyc" + ], "timeout": 30, "memory": 512 }