From e5617cc68783dec5bd8640e677b2ef12bdd69e02 Mon Sep 17 00:00:00 2001 From: Max Stepanov Date: Mon, 8 Oct 2012 14:25:42 -0700 Subject: [PATCH] [TIMOB-10865] iOS: builder.py adhoc build is broken --- support/iphone/compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/iphone/compiler.py b/support/iphone/compiler.py index c77e37265f4..a05201d3d39 100755 --- a/support/iphone/compiler.py +++ b/support/iphone/compiler.py @@ -21,7 +21,7 @@ import simplejson as json ignoreFiles = ['.gitignore', '.cvsignore', '.DS_Store', '.git','.svn','_svn','CVS']; -ignoreDirs = ['android','mobileweb']; +ignoreDirs = ['iphone', 'android','mobileweb',]; HEADER = """/** * Appcelerator Titanium Mobile @@ -645,7 +645,7 @@ def add_compiled_resources(source,target): compiled_targets[ext].append(entry) else: compiled_targets[ext]=[entry] - if not write_routing: + if not (write_routing and len(fp)>1 and ext in ['.html','.js','.css']): # only copy if different filesize or doesn't exist if not os.path.exists(to_) or os.path.getsize(from_)!=os.path.getsize(to_): print "[DEBUG] copying: %s to %s" % (from_,to_)