push2android.sh 457 字节
Newer Older
W
wangliu 已提交
1 2 3
#!/usr/bin/env sh

push_fn () {
W
wangliu 已提交
4 5 6
MODELS_PATH="../../test/models/*"
IMAGE_PATH="../../test/images/*"
EXE_FILE="../../test/build/*"
W
wangliu 已提交
7 8
EXE_DIR="data/local/tmp/bin"
MODELS_DIR="data/local/tmp/models"
L
liuruilong 已提交
9
IMAGES_DIR="data/local/tmp/images"
10
LIB_PATH="../../build/release/arm-v7a/build/*"
W
wangliu 已提交
11 12
adb push ${EXE_FILE} ${EXE_DIR}
adb push ${LIB_PATH} ${EXE_DIR}
L
liuruilong 已提交
13
adb push ${IMAGE_PATH} ${IMAGES_DIR}
W
wangliu 已提交
14 15 16 17
adb push ${MODELS_PATH} ${MODELS_DIR}
echo "test files sync completed"
}
push_fn