Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 904 Bytes

development.md

File metadata and controls

50 lines (32 loc) · 904 Bytes

Setting up project for development

This project uses melos to manage the monorepo. To get started, clone the repository and run the following commands:

  1. Install melos. Make sure you have .pub-cache/bin in your path.
dart pub global activate melos
  1. Setup the project with melos.
melos bootstrap

This will create dependency overrides for all the packages in the monorepo.

  1. Run pub get with melos.
melos run deps

Now you can run the example app. See melos.yaml for more commands.

Running test

melos run test

Running tests with coverage report.

  1. Install genhtml:
brew install lcov
  1. Run tests and generate report
melos run cov
  1. 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.