dart analyze
dart format .
dart test
If you make changes to lib/src/config.dart
and need to regenerate
lib/src/config.g.dart
:
- Uncomment the
json_serializable
dev dependency inpubspec.yaml
- Comment out the entirety of
build.yaml
dart pub get && dart run build_runner build
- Restore the changes made in steps 1-2
This is necessary because a builder cannot depend on code that is generated by
another builder in the same package. An alternative solution would be to define
the TestHtmlBuilderConfig
in a separate package, but this is simpler for now.