• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 12284252057

11 Dec 2024 08:20PM UTC coverage: 87.713% (-0.04%) from 87.75%
12284252057

push

github

web-flow
[native_assets_cli] Move `targetOS` to `CodeConfig` (#1806)

Next refactoring in:

* https://github.com/dart-lang/native/issues/1738

We move `config.targetOS` to `config.codeConfig.targetOS`. Other asset types might not get access on the target OS.

This will require a manual roll into dartdev and flutter tools due to the targetOS now having to be passed in via `setupCodeConfig` instead of the base config.

The native assets builder will still emit the same JSON if code assets are supported. Since both Dart and Flutter support code assets currently, this will not break anything. Once data assets for web in Flutter are added, all existing build hooks that assume code assets are always supported will break.

32 of 33 new or added lines in 6 files covered. (96.97%)

6 existing lines in 3 files now uncovered.

11936 of 13608 relevant lines covered (87.71%)

34.19 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.65
/pkgs/native_assets_cli/lib/src/code_assets/validation.dart


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc