angular-cn/scripts/ci/init_android.sh

11 lines
203 B
Bash
Executable File

#!/bin/bash
set -e
if [[ $PERF_BROWSERS =~ .*Android.* || $E2E_BROWSERS =~ .*Android.* ]]
then
adb usb
adb wait-for-device devices
adb reverse tcp:8001 tcp:8001
adb reverse tcp:8002 tcp:8002
fi