]> git.saurik.com Git - cycript.git/blob - android-push.sh
Speed up tab completion and hide $cy* identifiers.
[cycript.git] / android-push.sh
1 #!/bin/bash
2 set -e
3
4 adb shell mkdir -p /data/local/tmp/Cycript.lib/{l,u}
5 adb push cycript.and.in /data/local/tmp/cycript
6 adb shell chmod 755 /data/local/tmp/cycript
7
8 files=()
9 files+=(.libs/cycript)
10 files+=(.libs/libcycript.so)
11 files+=(libcycript.jar)
12 files+=(libcycript.db)
13 files+=(../libcycript.cy)
14 files+=(../android/armeabi/libJavaScriptCore.so)
15
16 for file in "${files[@]}"; do
17 adb push build.and-armeabi/"${file}" /data/local/tmp/Cycript.lib
18 done
19
20 for term in linux unknown; do
21 adb push {terminfo,/data/local/tmp/Cycript.lib}/"${term:0:1}/${term}"
22 done