This project uses melos to manage the monorepo. To get started, clone the repository and run the following commands:
- Install melos. Make sure you have
.pub-cache/bin
in your path.
dart pub global activate melos
- Setup the project with melos.
melos bootstrap
This will create dependency overrides for all the packages in the monorepo.
- Run
pub get
with melos.
melos run deps
Now you can run the example app. See melos.yaml
for more commands.
melos run test
- Install genhtml:
brew install lcov
- Run tests and generate report
melos run cov
- Open
coverage/index.html
in browser to view the report.
You can run melos run open_cov
on macOS to open the report in browser.