refactor(build): 统一本地与 CI 构建入口及平台发布工具 (#9)
Gitea CI / Check code and tests (push) Successful in 7m38s
Gitea CI / Build Android APK (push) Successful in 6m20s
Gitea CI / Audit and package Windows x64 (push) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (push) Canceled after 0s
Gitea CI / Gitea CI passed (push) Canceled after 0s
Gitea CI / Build Windows x64 app (push) Canceled after 14m42s

This commit was merged in pull request #9.
This commit is contained in:
lingjhf committed 2026-10-06 16:14:42 +00:00
1 parent a13a54d5ec
commit 4a759d81a6
61 files changed
+1913 -388

No files matched your search

+3 -4
View File
@@ -4,6 +4,8 @@ import 'dart:io';
import 'package:flutter_test/flutter_test.dart';
import 'package:crypto/crypto.dart';
import 'support/dart_executable.dart';
const _generatedFiles = [
':(glob)lib/**/*.g.dart',
':(glob)lib/**/*.freezed.dart',
@@ -15,10 +17,7 @@ void main() {
test('workspace generated code is up to date', () async {
await _expectNoUntrackedGeneratedFiles();
final before = await _generatedContents();
final flutterRoot = Platform.environment['FLUTTER_ROOT'];
final dart = flutterRoot == null
? (Platform.isWindows ? 'dart.exe' : 'dart')
: '$flutterRoot/bin/cache/dart-sdk/bin/${Platform.isWindows ? 'dart.exe' : 'dart'}';
final dart = flutterTestDartExecutable();
for (final directory in _generatorRoots()) {
final result = await Process.run(dart, [
'run',