Skip to content

Commit

Permalink
[TIMOB-10865] iOS: builder.py adhoc build is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Stepanov committed Oct 8, 2012
1 parent eac256b commit e5617cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/iphone/compiler.py
Expand Up @@ -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
Expand Down Expand Up @@ -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_)
Expand Down

0 comments on commit e5617cc

Please sign in to comment.