Ignore files starting with ".". On MacOS, these may be resource forks, but in any case, ignoring dotfiles is relatively standard practice.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@839 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -149,7 +149,7 @@ if __name__ == "__main__":
|
||||
## Find all the Javascript source files
|
||||
for root, dirs, files in os.walk(sourceDirectory):
|
||||
for filename in files:
|
||||
if filename.endswith(SUFFIX_JAVASCRIPT):
|
||||
if filename.endswith(SUFFIX_JAVASCRIPT) and not filename.startswith("."):
|
||||
filepath = os.path.join(root, filename)[len(sourceDirectory)+1:]
|
||||
if (not cfg) or (filepath not in cfg.exclude):
|
||||
allFiles.append(filepath)
|
||||
|
||||
Reference in New Issue
Block a user