Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/
export ANDROID_HOME=/opt/android-sdk
BUILD_DIRECTORY="lttrs-android-build"
git clone https://github.com/iNPUTmice/lttrs-android.git
mkdir $BUILD_DIRECTORY
disorderfs --sort-dirents=yes --reverse-dirents=no lttrs-android $BUILD_DIRECTORY
cd $BUILD_DIRECTORY
./gradlew assembleRelease
sha256sum app/build/outputs/apk/release/Ltt.rs-0.1.0-release-unsigned.apk
cd ../
fusermount -u lttrs-android-build
rmdir $BUILD_DIRECTORY
rm -rf lttrs-android
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment