From 04038a912f4d6945965230e64516086da5bd771c Mon Sep 17 00:00:00 2001 From: James Chen Date: Wed, 12 Mar 2014 20:34:49 +0800 Subject: [PATCH] [travis ci] Sort file list in generate-template-files.py. --- tools/travis-scripts/generate-template-files.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/travis-scripts/generate-template-files.py b/tools/travis-scripts/generate-template-files.py index b0b5fbb159..f0a1dea422 100755 --- a/tools/travis-scripts/generate-template-files.py +++ b/tools/travis-scripts/generate-template-files.py @@ -148,6 +148,8 @@ class CocosFileList: Save content to file with json format. """ f = open(fileName,"w") + self.fileList_com.sort() + self.fileList_lua.sort() content ={'common':self.fileList_com,'lua':self.fileList_lua} json.dump(content,f,sort_keys=True,indent=4) f.close()