mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Cache main sdk/ndk downloads
This commit is contained in:
parent
ca717e33d7
commit
ee0e3253b5
3 changed files with 32 additions and 5 deletions
|
|
@ -13,10 +13,8 @@ script "setup-android-sdk" do
|
|||
user user
|
||||
cwd "/tmp"
|
||||
code "
|
||||
wget http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz
|
||||
tar zxvf android-sdk_r21.0.1-linux.tgz
|
||||
tar zxvf /vagrant/cache/android-sdk_r21.0.1-linux.tgz
|
||||
mv android-sdk-linux #{sdk_loc}
|
||||
rm android-sdk_r21.0.1-linux.tgz
|
||||
#{sdk_loc}/tools/android update sdk --no-ui -t platform-tool
|
||||
#{sdk_loc}/tools/android update sdk --no-ui -t tool
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue