1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-27 09:48:08 +00:00
simplesshd/doit

20 lines
485 B
Plaintext
Raw Normal View History

#!/bin/sh
instlib() {
for i in `ls libs`
do
mkdir -p app/src/main/lib/$i || return 1
mv libs/$i/"$1" app/src/main/lib/$i/"$2" || return 1
done
}
2019-05-26 02:06:04 +00:00
~/Android/Sdk/ndk-bundle/ndk-build -j8 &&
mkdir -p app/src/main/lib/armeabi-v7a &&
instlib scp libscp.so &&
instlib sftp-server libsftp-server.so &&
instlib rsync librsync.so &&
instlib buffersu libbuffersu.so &&
instlib libsimplesshd-jni.so "" &&
2019-05-26 02:06:04 +00:00
./gradlew assembleRelease &&
andinst app/build/outputs/apk/release/app-release.apk