Skip to content

mt.yaml

Michael Schwartz edited this page Jul 20, 2021 · 4 revisions

You typically will provide a mt.yaml file in each of your package and program directories of the monorepo.

The mt.yaml file provides hints for the mt tool.

  • package - the name of the package or program
  • entrypoint - the relative path to the program's entrypoint
  • type - tool or package
  • production - what to do for production (compile, for example)
  • ignore - a list/array of directories to ignore

For example (mt's mt.yaml file):

package: mt
entrypoint: bin/mt.dart
type: "tool"
production: "compile"
ignore:
  - .git
  - .dart_tool
Clone this wiki locally