feat: automate version.g.dart generation via build_runner

Replace manual generate_version.dart script with a custom build_runner
builder that automatically generates lib/version.g.dart from pubspec.yaml
during the build process. This eliminates manual steps and ensures version
info stays in sync.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-30 17:27:10 +01:00
co-authored by Claude Opus 4.5
parent 3af4fd16f8
commit 4b0c6b292a
6 changed files with 67 additions and 52 deletions
+1
View File
@@ -76,6 +76,7 @@ dev_dependencies:
mocktail: ^1.0.4
# Build tools
build: ^2.4.0
yaml: ^3.1.0
# For information on the generic Dart part of this file, see the