Documentation
¶
Overview ¶
Package dart provides backends for Dart (https://dart.dev) using the Dart package manager Pub.dev (https://pub.dev)
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DartPubBackend = api.LanguageBackend{ Name: "dart-pub", Specfile: "pubspec.yaml", Lockfile: "pubspec.lock", IsAvailable: dartIsAvailable, FilenamePatterns: []string{"*.dart"}, Quirks: api.QuirksLockAlsoInstalls, GetPackageDir: dartGetPackageDir, Search: dartSearch, Info: dartInfo, Add: dartAdd, Remove: dartRemove, Lock: func(ctx context.Context) { span, ctx := tracer.StartSpanFromContext(ctx, "pub get") defer span.Finish() util.RunCmd([]string{"dart", "pub", "get"}) }, Install: func(ctx context.Context) { span, ctx := tracer.StartSpanFromContext(ctx, "pub get") defer span.Finish() util.RunCmd([]string{"dart", "pub", "get"}) }, ListSpecfile: dartListPubspecYaml, ListLockfile: dartListPubspecLock, GuessRegexps: nil, Guess: dartGuess, InstallReplitNixSystemDependencies: nix.DefaultInstallReplitNixSystemDependencies, }
DartPubBackend is a UPM backend for Dart that uses Pub.dev.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.