Skip to content

Commit c40923a

Browse files
committed
Merge pull request #33 from rackerlabs/example_ignore
Added some sane ignore defaults to the configuration examples
2 parents 589eef2 + 36e5707 commit c40923a

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ Example lambda.json file:
2929
"handler": "function.lambda_handler",
3030
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution",
3131
"requirements": ["pygithub"],
32-
"ignore": ["circle.yml"],
32+
"ignore": [
33+
"circle.yml",
34+
".git",
35+
"*.pyc"
36+
],
3337
"timeout": 30,
3438
"memory": 512
3539
}

README.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ Example lambda.json file:
4242
"handler": "function.lambda_handler",
4343
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution",
4444
"requirements": ["pygithub"],
45-
"ignore": ["circle.yml"],
45+
"ignore": [
46+
"circle.yml",
47+
".git",
48+
"*.pyc"
49+
],
4650
"timeout": 30,
4751
"memory": 512
4852
}
@@ -64,7 +68,8 @@ To specify an alternative profile that has been defined in
6468
6569
lambda-uploader --profile=alternative-profile
6670
67-
To specify an alternative, prexisting virtualenv use the ``--virtualenv`` parameter.
71+
To specify an alternative, prexisting virtualenv use the
72+
``--virtualenv`` parameter.
6873

6974
.. code:: shell
7075

example/lambda.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"handler": "function.lambda_handler",
66
"role": "arn:aws:iam::00000000000:role/lambda_basic_execution",
77
"requirements": ["Jinja2==2.8"],
8-
"ignore": ["circle.yml"],
8+
"ignore": [
9+
"circle.yml",
10+
".git",
11+
"*.pyc"
12+
],
913
"timeout": 30,
1014
"memory": 512
1115
}

0 commit comments

Comments
 (0)