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

dart-lang / native / 13909218308

17 Mar 2025 08:29PM UTC coverage: 86.587% (-0.04%) from 86.63%
13909218308

push

github

web-flow
[native_assets_cli] Make generated syntax files stand on their own (#2102)

Bug: https://github.com/dart-lang/native/issues/1826

`package:json_syntax_generator` is only reusable if the files are self contained.

_Alternatively, we could make the generator take a config option for a JSON import. However, the downside would be that we would need copy paste the library file to multiple places._

Additionally, this PR cleans up all other uses of the `utils/json.dart` in `package:native_assets_cli`. The only remaining JSON helper is `sortOnKey()` because the asset-extension touches JSON manually and needs to sort the keys. (This could be addressed when addressing https://github.com/dart-lang/native/issues/2090.)

119 of 172 new or added lines in 6 files covered. (69.19%)

13337 of 15403 relevant lines covered (86.59%)

36.35 hits per line

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

68.05
/pkgs/native_assets_cli/lib/src/code_assets/syntax.g.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