Fix tabbing for code that creates introspected text files
This commit is contained in:
22
wscript
22
wscript
@@ -889,17 +889,17 @@ class print_introspected_doxygen_task(Task.TaskBase):
|
||||
else:
|
||||
prog = program_obj.path.find_or_declare(ccroot.get_target_name(program_obj)).abspath(env)
|
||||
|
||||
# Create a header file with the introspected information.
|
||||
doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w')
|
||||
if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait():
|
||||
raise SystemExit(1)
|
||||
doxygen_out.close()
|
||||
|
||||
# Create a text file with the introspected information.
|
||||
text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w')
|
||||
if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait():
|
||||
raise SystemExit(1)
|
||||
text_out.close()
|
||||
# Create a header file with the introspected information.
|
||||
doxygen_out = open(os.path.join('doc', 'introspected-doxygen.h'), 'w')
|
||||
if subprocess.Popen([prog], stdout=doxygen_out, env=proc_env).wait():
|
||||
raise SystemExit(1)
|
||||
doxygen_out.close()
|
||||
|
||||
# Create a text file with the introspected information.
|
||||
text_out = open(os.path.join('doc', 'ns3-object.txt'), 'w')
|
||||
if subprocess.Popen([prog, '--output-text'], stdout=text_out, env=proc_env).wait():
|
||||
raise SystemExit(1)
|
||||
text_out.close()
|
||||
|
||||
class run_python_unit_tests_task(Task.TaskBase):
|
||||
after = 'cc cxx link'
|
||||
|
||||
Reference in New Issue
Block a user