Kaydet (Commit) 2d48830d authored tarafından Peter Foley's avatar Peter Foley Kaydeden (comit) Tor Lillqvist

minor pep8 formatting improvments to gbuild-to-ide

Change-Id: Ifa060f4ab6ebe7b525a991cc54564e9584d032f7
Reviewed-on: https://gerrit.libreoffice.org/18720Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
Tested-by: 's avatarTor Lillqvist <tml@collabora.com>
üst 99bfc363
...@@ -20,6 +20,7 @@ import xml.etree.ElementTree as ET ...@@ -20,6 +20,7 @@ import xml.etree.ElementTree as ET
import xml.dom.minidom as minidom import xml.dom.minidom as minidom
import traceback import traceback
class GbuildParserState: class GbuildParserState:
def __init__(self): def __init__(self):
...@@ -242,7 +243,9 @@ class IdeIntegrationGenerator: ...@@ -242,7 +243,9 @@ class IdeIntegrationGenerator:
def emit(self): def emit(self):
pass pass
class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator): class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator):
def __init__(self, gbuildparser, ide): def __init__(self, gbuildparser, ide):
IdeIntegrationGenerator.__init__(self, gbuildparser, ide) IdeIntegrationGenerator.__init__(self, gbuildparser, ide)
self.oe_cdt = 'org.eclipse.cdt' self.oe_cdt = 'org.eclipse.cdt'
...@@ -260,13 +263,13 @@ class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator): ...@@ -260,13 +263,13 @@ class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator):
</projects> </projects>
<buildSpec> <buildSpec>
<buildCommand> <buildCommand>
<name>"""+ self.cdt_mb +""".genmakebuilder</name> <name>""" + self.cdt_mb + """.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>clean,full,incremental,</triggers>
<arguments> <arguments>
</arguments> </arguments>
</buildCommand> </buildCommand>
<buildCommand> <buildCommand>
<name>"""+ self.cdt_mb +""".ScannerConfigBuilder</name> <name>""" + self.cdt_mb + """.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers> <triggers>full,incremental,</triggers>
<arguments> <arguments>
</arguments> </arguments>
...@@ -281,7 +284,8 @@ class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator): ...@@ -281,7 +284,8 @@ class EclipseCDTIntegrationGenerator(IdeIntegrationGenerator):
</projectDescription> </projectDescription>
""" """
return projectfiletemplate % {'name': name, 'comment': comment, 'xmlversion': xmlversion, 'encoding':encoding} return projectfiletemplate % {'name': name, 'comment': comment, 'xmlversion': xmlversion, 'encoding': encoding}
class DebugIntegrationGenerator(IdeIntegrationGenerator): class DebugIntegrationGenerator(IdeIntegrationGenerator):
...@@ -485,7 +489,6 @@ VersionControl=kdevgit ...@@ -485,7 +489,6 @@ VersionControl=kdevgit
def __init__(self, gbuildparser, ide): def __init__(self, gbuildparser, ide):
IdeIntegrationGenerator.__init__(self, gbuildparser, ide) IdeIntegrationGenerator.__init__(self, gbuildparser, ide)
def emit(self): def emit(self):
for path in self.gbuildparser.target_by_path: for path in self.gbuildparser.target_by_path:
self.write_includepaths(path) self.write_includepaths(path)
...@@ -668,12 +671,13 @@ class XcodeIntegrationGenerator(IdeIntegrationGenerator): ...@@ -668,12 +671,13 @@ class XcodeIntegrationGenerator(IdeIntegrationGenerator):
def emit(self): def emit(self):
self.rootlocation = './' self.rootlocation = './'
for location in self.gbuildparser.target_by_location: for location in self.gbuildparser.target_by_location:
module = location.split('/')[-1] # module = location.split('/')[-1]
module_directory = os.path.join(self.rootlocation, module) # module_directory = os.path.join(self.rootlocation, module)
for target in self.gbuildparser.target_by_location[location]: for target in self.gbuildparser.target_by_location[location]:
# project_path = os.path.join(module_directory, '%s.pbxroj' % target.name) # project_path = os.path.join(module_directory, '%s.pbxroj' % target.name)
self.write_xcodeproj(location, target) self.write_xcodeproj(location, target)
class VisualStudioIntegrationGenerator(IdeIntegrationGenerator): class VisualStudioIntegrationGenerator(IdeIntegrationGenerator):
def __init__(self, gbuildparser, ide): def __init__(self, gbuildparser, ide):
...@@ -924,9 +928,6 @@ class VisualStudioIntegrationGenerator(IdeIntegrationGenerator): ...@@ -924,9 +928,6 @@ class VisualStudioIntegrationGenerator(IdeIntegrationGenerator):
self.write_pretty_xml(proj_node, filters_path) self.write_pretty_xml(proj_node, filters_path)
class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
def __init__(self, gbuildparser, ide): def __init__(self, gbuildparser, ide):
...@@ -957,62 +958,62 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -957,62 +958,62 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# so it can be different from the creation order. # so it can be different from the creation order.
# So we prefix the names with the index. # So we prefix the names with the index.
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '0', 'index': '0',
'base_folder' : module_folder, 'base_folder': module_folder,
'arg' : "", 'arg': "",
'name' : "1-Build %s" % lib_folder, 'name': "1-Build %s" % lib_folder,
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '1', 'index': '1',
'base_folder' : module_folder, 'base_folder': module_folder,
'arg' : "unitcheck", 'arg': "unitcheck",
'name' : "2-Local tests -- quick tests (unitcheck)", 'name': "2-Local tests -- quick tests (unitcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '2', 'index': '2',
'base_folder' : module_folder, 'base_folder': module_folder,
'arg' : "unitcheck slowcheck", 'arg': "unitcheck slowcheck",
'name' : "3-Local tests -- slow tests (unitcheck, slowcheck)", 'name': "3-Local tests -- slow tests (unitcheck, slowcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '3', 'index': '3',
'base_folder' : module_folder, 'base_folder': module_folder,
'arg' : "unitcheck slowcheck subsequentcheck", 'arg': "unitcheck slowcheck subsequentcheck",
'name' : "4-Local tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", 'name': "4-Local tests -- integration tests (unitcheck, slowcheck, subsequentcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '4', 'index': '4',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck", 'arg': "unitcheck",
'name' : "5-Global tests -- quick tests (unitcheck)", 'name': "5-Global tests -- quick tests (unitcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '5', 'index': '5',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck slowcheck", 'arg': "unitcheck slowcheck",
'name' : "6-Global tests -- slow tests (unitcheck, slowcheck)", 'name': "6-Global tests -- slow tests (unitcheck, slowcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '6', 'index': '6',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck slowcheck subsequentcheck", 'arg': "unitcheck slowcheck subsequentcheck",
'name' : "7-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", 'name': "7-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '7', 'index': '7',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "build-nocheck", 'arg': "build-nocheck",
'name' : "8-Global build -- nocheck", 'name': "8-Global build -- nocheck",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '8', 'index': '8',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "", 'arg': "",
'name' : "9-Global build", 'name': "9-Global build",
} }
xml += QtCreatorIntegrationGenerator.build_configs_count_template % { xml += QtCreatorIntegrationGenerator.build_configs_count_template % {
'nb' : '9', 'nb': '9',
} }
return xml return xml
...@@ -1022,79 +1023,79 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1022,79 +1023,79 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# so it can be different from the creation order. # so it can be different from the creation order.
# So we prefix the names with the index. # So we prefix the names with the index.
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '0', 'index': '0',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "", 'arg': "",
'name' : "01-Global Build", 'name': "01-Global Build",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '1', 'index': '1',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck", 'arg': "unitcheck",
'name' : "02-Global tests -- quick tests (unitcheck)", 'name': "02-Global tests -- quick tests (unitcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '2', 'index': '2',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck slowcheck", 'arg': "unitcheck slowcheck",
'name' : "03-Global tests -- slow tests (unitcheck, slowcheck)", 'name': "03-Global tests -- slow tests (unitcheck, slowcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '3', 'index': '3',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "unitcheck slowcheck subsequentcheck", 'arg': "unitcheck slowcheck subsequentcheck",
'name' : "04-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)", 'name': "04-Global tests -- integration tests (unitcheck, slowcheck, subsequentcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '4', 'index': '4',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "perfcheck", 'arg': "perfcheck",
'name' : "05-Global tests -- performance tests (perfcheck)", 'name': "05-Global tests -- performance tests (perfcheck)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '5', 'index': '5',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "check", 'arg': "check",
'name' : "06-Global tests -- tests (check)", 'name': "06-Global tests -- tests (check)",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '6', 'index': '6',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "build-nocheck", 'arg': "build-nocheck",
'name' : "07-Global build -- nocheck", 'name': "07-Global build -- nocheck",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '7', 'index': '7',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "build-l10n-only", 'arg': "build-l10n-only",
'name' : "08-Global build -- build-l10n-only", 'name': "08-Global build -- build-l10n-only",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '8', 'index': '8',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "build-non-l10n-only", 'arg': "build-non-l10n-only",
'name' : "09-Global build -- build-non-l10n-only", 'name': "09-Global build -- build-non-l10n-only",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '9', 'index': '9',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "clean", 'arg': "clean",
'name' : "10-Global build -- clean", 'name': "10-Global build -- clean",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '10', 'index': '10',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "clean-build", 'arg': "clean-build",
'name' : "11-Global build -- clean-build", 'name': "11-Global build -- clean-build",
} }
xml += QtCreatorIntegrationGenerator.build_configs_template % { xml += QtCreatorIntegrationGenerator.build_configs_template % {
'index' : '11', 'index': '11',
'base_folder' : self.base_folder, 'base_folder': self.base_folder,
'arg' : "clean-host", 'arg': "clean-host",
'name' : "12-Global build -- clean-host", 'name': "12-Global build -- clean-host",
} }
xml += QtCreatorIntegrationGenerator.build_configs_count_template % { xml += QtCreatorIntegrationGenerator.build_configs_count_template % {
'nb' : '12', 'nb': '12',
} }
return xml return xml
...@@ -1168,8 +1169,8 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1168,8 +1169,8 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# So we put "soffice.bin" that is ok for both. # So we put "soffice.bin" that is ok for both.
loexec = "%s/instdir/program/soffice.bin" % self.base_folder loexec = "%s/instdir/program/soffice.bin" % self.base_folder
xml = QtCreatorIntegrationGenerator.run_configs_template % { xml = QtCreatorIntegrationGenerator.run_configs_template % {
'loexec' : loexec, 'loexec': loexec,
'workdir' : self.base_folder 'workdir': self.base_folder
} }
return xml return xml
...@@ -1237,9 +1238,9 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1237,9 +1238,9 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
run_configs = self.generate_run_configs(lib_folder) run_configs = self.generate_run_configs(lib_folder)
xml = QtCreatorIntegrationGenerator.pro_user_template % { xml = QtCreatorIntegrationGenerator.pro_user_template % {
'build_configs' : build_configs, 'build_configs': build_configs,
'deploy_configs' : deploy_configs, 'deploy_configs': deploy_configs,
'run_configs' : run_configs, 'run_configs': run_configs,
} }
return xml return xml
...@@ -1250,9 +1251,9 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1250,9 +1251,9 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
run_configs = self.generate_run_configs("") run_configs = self.generate_run_configs("")
xml = QtCreatorIntegrationGenerator.pro_user_template % { xml = QtCreatorIntegrationGenerator.pro_user_template % {
'build_configs' : build_configs, 'build_configs': build_configs,
'deploy_configs' : deploy_configs, 'deploy_configs': deploy_configs,
'run_configs' : run_configs, 'run_configs': run_configs,
} }
return xml return xml
...@@ -1373,14 +1374,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1373,14 +1374,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
def get_source_extension(self, src_file): def get_source_extension(self, src_file):
path = os.path.join(self.base_folder, src_file) path = os.path.join(self.base_folder, src_file)
for ext in (".cxx", ".cpp", ".c", ".mm"): for ext in (".cxx", ".cpp", ".c", ".mm"):
if os.path.isfile(path+ext): if os.path.isfile(path + ext):
return ext return ext
return "" return ""
def get_header_extension(self, src_file): def get_header_extension(self, src_file):
path = os.path.join(self.base_folder, src_file) path = os.path.join(self.base_folder, src_file)
for ext in (".hxx", ".hpp", ".h"): for ext in (".hxx", ".hpp", ".h"):
if os.path.isfile(path+ext): if os.path.isfile(path + ext):
return ext return ext
return "" return ""
...@@ -1410,12 +1411,12 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1410,12 +1411,12 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# self._log("\n file : %s" % file_) # self._log("\n file : %s" % file_)
ext = self.get_source_extension(file_) ext = self.get_source_extension(file_)
if ext: if ext:
sources_list.append(lopath(file_+ext)) sources_list.append(lopath(file_ + ext))
# few cxxobject files have a header beside # few cxxobject files have a header beside
ext = self.get_header_extension(file_) ext = self.get_header_extension(file_)
if ext: if ext:
headers_list.append(lopath(file_+ext)) headers_list.append(lopath(file_ + ext))
# List all include paths # List all include paths
for hdir in lib.include: for hdir in lib.include:
...@@ -1437,11 +1438,11 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1437,11 +1438,11 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
self.data_libs[lib_folder]['includepath'] |= set(includepath_list) self.data_libs[lib_folder]['includepath'] |= set(includepath_list)
else: else:
self.data_libs[lib_folder] = { self.data_libs[lib_folder] = {
'sources' : set(sources_list), 'sources': set(sources_list),
'headers' : set(headers_list), 'headers': set(headers_list),
'includepath' : set(includepath_list), 'includepath': set(includepath_list),
'loc' : lib.location, 'loc': lib.location,
'name' : lib_name 'name': lib_name
} }
def emit(self): def emit(self):
...@@ -1471,14 +1472,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1471,14 +1472,14 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
# create .pro file # create .pro file
qt_pro_file = '%s/%s.pro' % (lib_loc, lib_name) qt_pro_file = '%s/%s.pro' % (lib_loc, lib_name)
try: try:
content = QtCreatorIntegrationGenerator.pro_template % {'sources' : sources, 'headers' : headers, 'includepath' : includepath} content = QtCreatorIntegrationGenerator.pro_template % {'sources': sources, 'headers': headers, 'includepath': includepath}
mode = 'w+' mode = 'w+'
with open(qt_pro_file, mode) as fpro: with open(qt_pro_file, mode) as fpro:
fpro.write(content) fpro.write(content)
self._log("created %s\n" % qt_pro_file) self._log("created %s\n" % qt_pro_file)
except Exception as e: except Exception as e:
print("ERROR : creating pro file="+qt_pro_file, file=sys.stderr) print("ERROR : creating pro file=" + qt_pro_file, file=sys.stderr)
print(e, file=sys.stderr) print(e, file=sys.stderr)
temp = traceback.format_exc() # .decode('utf8') temp = traceback.format_exc() # .decode('utf8')
print(temp, file=sys.stderr) print(temp, file=sys.stderr)
...@@ -1492,7 +1493,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1492,7 +1493,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
self._log("created %s\n" % qt_pro_user_file) self._log("created %s\n" % qt_pro_user_file)
except Exception as e: except Exception as e:
print("ERROR : creating pro.user file="+qt_pro_user_file, file=sys.stderr) print("ERROR : creating pro.user file=" + qt_pro_user_file, file=sys.stderr)
print(e, file=sys.stderr) print(e, file=sys.stderr)
temp = traceback.format_exc() temp = traceback.format_exc()
print(temp, file=sys.stderr) print(temp, file=sys.stderr)
...@@ -1502,12 +1503,12 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1502,12 +1503,12 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
qt_meta_pro_file = 'lo.pro' qt_meta_pro_file = 'lo.pro'
try: try:
subdirs = " \\\n".join(subdirs_list) subdirs = " \\\n".join(subdirs_list)
content = QtCreatorIntegrationGenerator.pro_meta_template % {'subdirs' : subdirs} content = QtCreatorIntegrationGenerator.pro_meta_template % {'subdirs': subdirs}
with open(qt_meta_pro_file, 'w+') as fmpro: with open(qt_meta_pro_file, 'w+') as fmpro:
fmpro.write(content) fmpro.write(content)
except Exception as e: except Exception as e:
print("ERROR : creating lo.pro file="+qt_meta_pro_file, file=sys.stderr) print("ERROR : creating lo.pro file=" + qt_meta_pro_file, file=sys.stderr)
print(e, file=sys.stderr) print(e, file=sys.stderr)
temp = traceback.format_exc() temp = traceback.format_exc()
print(temp, file=sys.stderr) print(temp, file=sys.stderr)
...@@ -1521,7 +1522,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator): ...@@ -1521,7 +1522,7 @@ class QtCreatorIntegrationGenerator(IdeIntegrationGenerator):
self._log("created %s\n" % qt_meta_pro_user_file) self._log("created %s\n" % qt_meta_pro_user_file)
except Exception as e: except Exception as e:
print("ERROR : creating lo.pro.user file="+qt_meta_pro_user_file, file=sys.stderr) print("ERROR : creating lo.pro.user file=" + qt_meta_pro_user_file, file=sys.stderr)
print(e, file=sys.stderr) print(e, file=sys.stderr)
temp = traceback.format_exc() temp = traceback.format_exc()
print(temp, file=sys.stderr) print(temp, file=sys.stderr)
...@@ -1577,7 +1578,7 @@ if __name__ == '__main__': ...@@ -1577,7 +1578,7 @@ if __name__ == '__main__':
gbuildparser = GbuildParser().parse(sys.stdin) gbuildparser = GbuildParser().parse(sys.stdin)
generators[args.ide](gbuildparser, args.ide).emit() generators[args.ide](gbuildparser, args.ide).emit()
print("Successfully created the project files."); print("Successfully created the project files.")
# Local Variables: # Local Variables:
# indent-tabs-mode: nil # indent-tabs-mode: nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment