add version and translate all pages

This commit is contained in:
m
2026-09-15 13:57:57 +02:00
parent 4659f3abc5
commit 339d55d92f
19 changed files with 205 additions and 70 deletions
+26
View File
@@ -25,4 +25,30 @@ if [ "${usage_target?}" = "emulator" ]; then
else
adb -d install -r "$APK"
fi
'''
[tasks.test]
description = "Run all tests (Go + Kotlin)"
run = '''
set -euo pipefail
cd backend && go test ./...
cd ../mobile-kotlin && ./gradlew :app:testDebugUnitTest -q
'''
[tasks.build]
description = "Build all artifacts (Go binary + Android APK)"
run = '''
set -euo pipefail
VERSION=$(cat VERSION)
mkdir -p backend/bin
cd backend && go build -ldflags "-X main.version=$VERSION" -o bin/vaultdrop-server cmd/server/main.go
cd ../mobile-kotlin && ./gradlew :app:assembleDebug -q
'''
[tasks.lint]
description = "Lint all code (staticcheck + Android Lint)"
run = '''
set -euo pipefail
cd backend && staticcheck ./...
cd ../mobile-kotlin && ./gradlew :app:lint -q
'''