diff --git a/Taskfile.yml b/Taskfile.yml index d6a0bda..ca2f501 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -77,6 +77,16 @@ tasks: END=$(date +%s) echo "integration: $((END - START))s" + build-android: + desc: Build a release APK (output in build/app/outputs/flutter-apk/) + deps: [_nix-check] + cmds: + - | + START=$(date +%s) + flutter build apk --release + END=$(date +%s) + echo "build-android: $((END - START))s" + run: desc: Run the app on Linux desktop deps: [_nix-check] @@ -85,4 +95,4 @@ tasks: check: desc: All fast checks — analyze + unit tests in parallel - deps: [analyze, test] + deps: [analyze, test, integration] diff --git a/stalwart-dev/test.sh b/stalwart-dev/test.sh index 375c9dc..e4ada15 100755 --- a/stalwart-dev/test.sh +++ b/stalwart-dev/test.sh @@ -53,8 +53,8 @@ echo "Stalwart ready — IMAP=:${STALWART_IMAP_PORT} SMTP=:${STALWART_SMTP_PORT ROOT="$(cd "$(dirname "$0")/.." && pwd)" cd "$ROOT" -# Export vars so dart test can read them. +# Export vars so flutter test can read them. export STALWART_IMAP_HOST="127.0.0.1" export STALWART_SMTP_HOST="127.0.0.1" -dart test test/integration/ +flutter test test/integration/