From 662acb42cbfb236c40e1fb7a73692dacb8eee132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCttler?= Date: Thu, 16 Apr 2026 08:38:09 +0200 Subject: [PATCH] Fix: use flutter test/flutter pub run instead of bare dart commands The project depends on the Flutter SDK so dart pub/dart test fail with "version solving failed". Switch task:test to flutter test and task:codegen to flutter pub run build_runner. Co-Authored-By: Claude Sonnet 4.6 --- Taskfile.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index ce62773..8fcc970 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -18,7 +18,7 @@ tasks: cmds: - | START=$(date +%s) - dart run build_runner build --delete-conflicting-outputs + flutter pub run build_runner build --delete-conflicting-outputs END=$(date +%s) echo "codegen: $((END - START))s" @@ -39,12 +39,12 @@ tasks: - dart fix --apply test: - desc: Run pure-Dart unit tests (no device needed) + desc: Run unit tests (no device needed) deps: [_nix-check] cmds: - | START=$(date +%s) - dart test test/unit/ + flutter test test/unit/ END=$(date +%s) echo "test: $((END - START))s"