mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
remove code for copying txt srclibs to buildserver
This commit is contained in:
parent
681a27546c
commit
fd2cfb0c7d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user