-
-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathjustfile
More file actions
36 lines (32 loc) · 1.15 KB
/
justfile
File metadata and controls
36 lines (32 loc) · 1.15 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
28
29
30
31
32
33
34
35
36
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
release:
@./gradlew --no-daemon --no-build-cache clean
@./gradlew --no-daemon --no-build-cache app:assembleRelease
@zipalign -f -p -v 4 \
app/build/outputs/apk/release/app-release-unsigned.apk \
app/build/outputs/apk/release/aligned.apk
@apksigner sign \
--alignment-preserved \
--ks foodyou.keystore \
--ks-key-alias foodyou \
--out ./release-signed.apk \
app/build/outputs/apk/release/aligned.apk
preview:
@./gradlew --no-daemon --no-build-cache clean
@./gradlew --no-daemon --no-build-cache app:assemblePreview
@zipalign -f -p -v 4 \
app/build/outputs/apk/preview/app-preview-unsigned.apk \
app/build/outputs/apk/preview/aligned.apk
@apksigner sign \
--alignment-preserved \
--ks foodyou.keystore \
--ks-key-alias foodyou \
--out ./preview-signed.apk \
app/build/outputs/apk/preview/aligned.apk
[working-directory: 'docs']
serve:
zensical serve