Nagram/bin/app/init.sh
2021-03-26 10:45:53 +08:00

16 lines
292 B
Bash
Executable File

#!/bin/bash
function flavor() {
for f in "$@"; do
./gradlew TMessagesProj:assemble${1}Release || exit 1
./gradlew TMessagesProj:assemble${1}ReleaseNoGcm || exit 1
done
}
rm -rf TMessagesProj/build/outputs/apk
flavor Full
flavor FullAppleEmoji
flavor Mini
flavor MiniAppleEmoji