-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathjustfile
More file actions
27 lines (24 loc) · 1.14 KB
/
Copy pathjustfile
File metadata and controls
27 lines (24 loc) · 1.14 KB
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
default:
@just --list
# $KTFMT_JAR - path to the ktfmt jar file
format:
@find . -type f \( -name "*.kt" -o -name "*.kts" \) -not -path "*/build/*" | xargs java -jar $KTFMT_JAR --kotlinlang-style
screenshots-opensource output="screenshots-opensource/":
@adb shell rm -fr /sdcard/Pictures/com.maksimowiczm.findmyip
@./gradlew :opensource:composeApp:connectedAndroidTest
@mkdir -p {{ output }}
@adb shell find /sdcard/Pictures/com.maksimowiczm.findmyip -iname "*.png" | while read line; do adb pull "$line" {{ output }}; done
release-opensource:
@./gradlew --no-daemon --no-build-cache clean
@./gradlew --no-daemon --no-build-cache opensource:composeApp:assembleRelease
@zipalign -f -p -v 4 \
opensource/composeApp/build/outputs/apk/release/composeApp-release-unsigned.apk \
opensource/composeApp/build/outputs/apk/release/aligned-unsigned.apk
@apksigner sign \
--alignment-preserved \
--out ./release-opensource-signed.apk \
--ks keystore \
--ks-key-alias secret_key \
--ks-pass stdin \
--key-pass stdin \
opensource/composeApp/build/outputs/apk/release/aligned-unsigned.apk