-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathMakefile
50 lines (33 loc) · 1.3 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
compile_android_test_sources:
./gradlew compileDebugAndroidTestSources -q
test_debug_all:
./gradlew testDebugAll -q
enable_dated_version_name:
./gradlew -q :app:enableDatedVersionName
distribute_debug:
./gradlew bundleDebug appDistributionUploadDebug
pr_check: compile_android_test_sources test_debug_all
enable_analytics_for_debug:
sed -i -e 's/config.enableAnalyticsForDebugBuilds=false/config.enableAnalyticsForDebugBuilds=true/g' analytics/gradle.properties
disable_analytics_for_debug:
sed -i -e 's/config.enableAnalyticsForDebugBuilds=true/config.enableAnalyticsForDebugBuilds=false/g' analytics/gradle.properties
encryption:
./scripts/common/encrypt.sh
decryption:
./scripts/common/decrypt.sh
# MIDDLEWARE INTEGRATION
# Use this only for custom (not yet released) middleware library.
setup_local_mw:
./gradlew libs:publishToMavenLocal
download_mw_artefacts:
./scripts/mw/update-mw.sh
download_mw_artefacts_custom:
./scripts/mw/update-mw-custom.sh
normalize_mw_imports:
./scripts/mw/normalize-imports.sh
clean_protos:
./scripts/mw/clean-protos.sh
# Update mw when new release is ready
update_mw: download_mw_artefacts normalize_mw_imports clean_protos
# Update mw from custom build (download only library, you have to update your proto files manually)
update_mw_custom: download_mw_artefacts_custom