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

push_fn () {
MODELS_PATH="../test/models/*"
L
liuruilong 已提交
5
IMAGE_PATH="../test/images/*"
W
wangliu 已提交
6 7 8
EXE_FILE="../test/build/*"
EXE_DIR="data/local/tmp/bin"
MODELS_DIR="data/local/tmp/models"
L
liuruilong 已提交
9
IMAGES_DIR="data/local/tmp/images"
W
wangliu 已提交
10 11 12
LIB_PATH="../build/release/arm-v7a/build/*"
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