mirror of https://github.com/axmolengine/axmol.git
remove dos2unix tools in js genbindings
This commit is contained in:
parent
c7d698362f
commit
a651deb93c
|
@ -154,9 +154,9 @@ def main():
|
|||
command = '%s %s %s -s %s -t %s -o %s -n %s' % (python_bin, generator_py, cfg, args[0], target, output_dir, args[1])
|
||||
_run_cmd(command)
|
||||
|
||||
if platform == 'win32':
|
||||
with _pushd(output_dir):
|
||||
_run_cmd('dos2unix *')
|
||||
# if platform == 'win32':
|
||||
# with _pushd(output_dir):
|
||||
# _run_cmd('dos2unix *')
|
||||
|
||||
|
||||
custom_cmd_args = {}
|
||||
|
@ -168,9 +168,9 @@ def main():
|
|||
print 'Generating bindings for %s...' % (key[:-4])
|
||||
command = '%s %s %s -s %s -t %s -o %s -n %s' % (python_bin, generator_py, cfg, args[0], target, output_dir, args[1])
|
||||
_run_cmd(command)
|
||||
if platform == 'win32':
|
||||
with _pushd(output_dir):
|
||||
_run_cmd('dos2unix *')
|
||||
# if platform == 'win32':
|
||||
# with _pushd(output_dir):
|
||||
# _run_cmd('dos2unix *')
|
||||
|
||||
print '----------------------------------------'
|
||||
print 'Generating javascript bindings succeeds.'
|
||||
|
|
Loading…
Reference in New Issue