remove dos2unix tools in js genbindings

This commit is contained in:
andyque 2015-05-25 18:11:19 +08:00
parent c7d698362f
commit a651deb93c
1 changed files with 6 additions and 6 deletions

View File

@ -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.'