remove code for copying txt srclibs to buildserver

This commit is contained in:
Michael Pöhn 2020-07-02 11:45:20 +02:00
parent 681a27546c
commit fd2cfb0c7d
1 changed files with 1 additions and 4 deletions

View File

@ -206,14 +206,11 @@ def build_server(app, build, vcs, build_dir, output_dir, log_dir, force):
if os.path.isfile(os.path.join('srclibs', name + '.yml')):
ftp.put(os.path.join('srclibs', name + '.yml'),
name + '.yml')
elif os.path.isfile(os.path.join('srclibs', name + '.txt')):
ftp.put(os.path.join('srclibs', name + '.txt'),
name + '.txt')
else:
raise BuildException("can not find metadata file for "
"'{name}', please make sure it is "
"present in your 'srclibs' folder."
"(supported formats: txt, yml)"
"(supported format: yml)"
.format(name=name))
# Copy the main app source code
# (no need if it's a srclib)