forked from miklelappo/android-properties
-
Notifications
You must be signed in to change notification settings - Fork 0
/
check.sh
executable file
·37 lines (30 loc) · 1.24 KB
/
check.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set -e
adb shell reboot
cargo check --target=aarch64-linux-android
cargo check --target=aarch64-linux-android
cargo check --target=aarch64-linux-android --features "bionic-deprecated"
cargo check --target=aarch64-linux-android --examples --features "bionic-deprecated"
cargo build --target=aarch64-linux-android --examples
cargo doc
cargo test
adb wait-for-device
echo "##########################"
adb push target/aarch64-linux-android/debug/examples/property_foreach /data/
adb shell chmod a+x /data/property_foreach
adb shell /data/property_foreach
echo "##########################"
adb push target/aarch64-linux-android/debug/examples/property_get /data/
adb shell chmod a+x /data/property_get
adb shell /data/property_get
echo "##########################"
adb push target/aarch64-linux-android/debug/examples/property_set /data/
adb shell chmod a+x /data/property_set
adb shell /data/property_set
echo "##########################"
adb push target/aarch64-linux-android/debug/examples/property_get /data/
adb shell chmod a+x /data/property_get
adb shell /data/property_get
echo "##########################"
adb push target/aarch64-linux-android/debug/examples/property_refresh /data/
adb shell chmod a+x /data/property_refresh
adb shell /data/property_refresh