-
Notifications
You must be signed in to change notification settings - Fork 199
/
Makefile
35 lines (30 loc) · 1.12 KB
/
Makefile
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
TMP:=$(shell mktemp -d)
tx-push:
tx push -s -r andbible.play-store-main-description
tx push -s -r andbible.and-bible-stringsxml
tx push -s -r andbible.bibleview-js
tx-pull:
tx pull --force --all
cp app/src/main/res/values-zh/strings.xml app/src/main/res/values-zh-rTW/strings.xml
# Download language corrections to english (en_GB in transifex, mapped to en via transifex config)
tx pull -l en_GB --force --minimum-perc 1 -r andbible.and-bible-stringsxml
tx pull -l en_GB --force --minimum-perc 1 -r andbible.bibleview-js
rm play/description-translations/[email protected]
python3 app/bibleview-js/src/lang/check.py
python3 play/compile_description.py
fastlane-supply:
# Remove languages unsupported by Google Play
mv fastlane/metadata/android/eo $(TMP)/
mv fastlane/metadata/android/yue $(TMP)/
mv fastlane/metadata/android/my-MM $(TMP)/ # description too long, update manually
#mv fastlane/metadata/android/uz $(TMP)/
fastlane supply || true
mv $(TMP)/* fastlane/metadata/android/
rmdir $(TMP)
test:
ls $(TMP)
echo $(TMP)
echo $(TMP)
ls $(TMP)
instrumented-tests:
./gradlew emulatorStandardGoogleplayDebugAndroidTest