Skip to content

Commit f24c016

Browse files
committed
Rename project template file name
1 parent 36834ef commit f24c016

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tools/codelite.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def CLAddCFiles(parent, files, project_path):
126126

127127

128128
def CLGenWorkspace(project_name, project_path):
129-
if os.path.isfile('template.workspace'):
130-
tree = etree.parse('template.workspace')
129+
if os.path.isfile('codelite_template.workspace'):
130+
tree = etree.parse('codelite_template.workspace')
131131
else:
132-
tree = etree.parse(os.path.join(os.path.dirname(__file__), 'template.workspace'))
132+
tree = etree.parse(os.path.join(os.path.dirname(__file__), 'codelite_template.workspace'))
133133

134134
root = tree.getroot()
135135
root.attrib['Name'] = project_name
@@ -153,10 +153,10 @@ def TargetCodelite(script, program):
153153
project_path = os.path.abspath('.')
154154
CLGenWorkspace(project_name, project_path)
155155

156-
if os.path.isfile('template.project'):
157-
tree = etree.parse('template.project')
156+
if os.path.isfile('codelite_template.project'):
157+
tree = etree.parse('codelite_template.project')
158158
else:
159-
tree = etree.parse(os.path.join(os.path.dirname(__file__), 'template.project'))
159+
tree = etree.parse(os.path.join(os.path.dirname(__file__), 'codelite_template.project'))
160160

161161
root = tree.getroot()
162162
root.attrib['Name'] = project_name

0 commit comments

Comments
 (0)