Merge pull request #5258 from lmskater/create-module-project

[Jenkins] add create-template-project.py
This commit is contained in:
James Chen 2014-01-27 01:42:07 -08:00
commit e83ddec7b8
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
import os
languages = ['cpp','lua','javascript']
base_path = 'tools/project-creator/'
create_project = base_path + 'create_project.py'
template_root = base_path + 'templateTest'
# create project
for item in languages:
ret = os.system('python ' + create_project
+ ' -n ' + 'template' + item
+ ' -k ' + 'com.test.template.' + item
+ ' -l ' + item
+ ' -p ' + template_root)
if(ret > 0):
ret = 1
exit(ret)
exit(0)