summaryrefslogtreecommitdiff
path: root/Chalice/make.py
diff options
context:
space:
mode:
authorGravatar Michal Moskal <michal@moskal.me>2011-07-05 15:43:20 -0700
committerGravatar Michal Moskal <michal@moskal.me>2011-07-05 15:43:20 -0700
commit99d84bd265479e480e75f82de9917e9a4dc96b9b (patch)
tree7220e69c69968f38e682326e253129e4348dff37 /Chalice/make.py
parent086898e7a2df0fbac8807058abfa82ae145e434a (diff)
parentd786b753f39294f4e2d5f57d16c69bb450abc799 (diff)
Merge
Diffstat (limited to 'Chalice/make.py')
-rw-r--r--Chalice/make.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Chalice/make.py b/Chalice/make.py
index e3ba1ab9..c7fb52d9 100644
--- a/Chalice/make.py
+++ b/Chalice/make.py
@@ -14,6 +14,9 @@ lastbuild = None
if os.path.exists(buildstamp):
lastbuild = os.path.getmtime(buildstamp)
+if not os.path.exists(bindir):
+ os.makedirs(bindir)
+
changedfiles = [file for file in srcfiles if not lastbuild or lastbuild <= os.path.getmtime(file)]
if not changedfiles: