mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +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')):
|
if os.path.isfile(os.path.join('srclibs', name + '.yml')):
|
||||||
ftp.put(os.path.join('srclibs', name + '.yml'),
|
ftp.put(os.path.join('srclibs', name + '.yml'),
|
||||||
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:
|
else:
|
||||||
raise BuildException("can not find metadata file for "
|
raise BuildException("can not find metadata file for "
|
||||||
"'{name}', please make sure it is "
|
"'{name}', please make sure it is "
|
||||||
"present in your 'srclibs' folder."
|
"present in your 'srclibs' folder."
|
||||||
"(supported formats: txt, yml)"
|
"(supported format: yml)"
|
||||||
.format(name=name))
|
.format(name=name))
|
||||||
# Copy the main app source code
|
# Copy the main app source code
|
||||||
# (no need if it's a srclib)
|
# (no need if it's a srclib)
|
||||||
|
Loading…
Reference in New Issue
Block a user