mirror of https://github.com/axmolengine/axmol.git
[Jenkins] rename language to languages
This commit is contained in:
parent
607a060256
commit
f6e4f4b44b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue