Created
August 6, 2015 14:58
-
-
Save sigmabeta/96515d74444c3cc48da2 to your computer and use it in GitHub Desktop.
Bash script for updating Android dependencies on a CI server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ${ANDROID_SDK}/tools | |
expect -c ' | |
set timeout -1; | |
spawn ./android update sdk --no-ui --filter platform,tool,extra; | |
expect { | |
"Do you accept the license" { | |
exp_send "y\r" ; exp_continue | |
} | |
eof | |
} | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment