mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 22:22:53 +03:00
13 lines
346 B
Bash
Executable File
13 lines
346 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ -z "${ANDROID_HOME}" ]]; then
|
|
SDKDIR=$PWD/.android-sdk
|
|
export ANDROID_HOME=${SDKDIR}
|
|
export ANDROID_SDK_ROOT=${SDKDIR}
|
|
fi
|
|
|
|
echo "Killing previous emulators"
|
|
${ANDROID_HOME}/platform-tools/adb devices | grep emulator | cut -f1 | while read line; do ${ANDROID_HOME}/platform-tools/adb -s $line emu kill; done
|