[Jenkins] rename language to languages

This commit is contained in:
lm 2014-01-27 17:22:24 +08:00
parent 607a060256
commit f6e4f4b44b
1 changed files with 2 additions and 2 deletions

View File

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