import "github.com/egdaemon/eg/runtime/x/wasi/egdart"
Package egdart has supporting functions for configuring the environment for running dart with caching.
func AutoAnalyze() eg.OpFn
AutoAnalyze finds pubspec.yaml files and runs dart analyze in each project directory.
func AutoDownload() eg.OpFn
AutoDownload finds pubspec.yaml files and runs dart pub get in each project directory.
func AutoTest(options ...toption) eg.OpFn
AutoTest finds pubspec.yaml files and runs dart test in each project directory.
func CacheDirectory(dirs ...string) string
func Env() []string
attempt to build the dart environment that sets up the dart environment for caching.
func FindRoots(root string) iter.Seq[string]
func Runtime() shell.Command
Create a shell runtime that properly sets up the dart environment for caching.