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

+6
View File
@@ -80,6 +80,12 @@ dev_dependencies:
"import 'package:cutdex_ui/widgets.dart';\nimport 'package:flutter_test/flutter_test.dart';")
self.assertEqual(boundaries.check(self.root), [])
def test_utf8_sources_are_read_independently_of_windows_locale(self):
source = self.root / 'lib/app.dart'
source.parent.mkdir(parents=True)
source.write_text("const label = '剪辑 🎬';\n", encoding='utf-8')
self.assertEqual(boundaries.check(self.root), [])
def test_conditional_imports_and_exports_cannot_hide_private_sources(self):
self.write('lib/app.dart', "import 'stub.dart' if (dart.library.io) 'package:cutdex_ui/src/widgets/app_item.dart';")
self.write('lib/export.dart', "export 'stub.dart' if (dart.library.io) 'package:cutdex_native/src/file_drop.dart';")