mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Add new srclib for bitcoinj wallet clone
This commit is contained in:
parent
fda3e85c3a
commit
b8d7ed9948
@ -669,6 +669,15 @@ def getsrclib(spec, extlib_dir):
|
||||
shutil.rmtree(os.path.join(sdir, 'bin'))
|
||||
return sdir
|
||||
|
||||
if name == 'BitcoinJWallet':
|
||||
sdir = os.path.join(extlib_dir, 'BitcoinJWallet')
|
||||
vcs = getvcs('git',
|
||||
'https://code.google.com/r/andreasschildbach-bitcoinj/', sdir)
|
||||
vcs.gotorevision(ref)
|
||||
if subprocess.call(['mvn', 'install'], cwd=sdir) != 0:
|
||||
raise BuildException("Maven build failed for BitcoinJWallet srclib")
|
||||
return sdir
|
||||
|
||||
raise BuildException('Unknown srclib ' + name)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user