Skip to content

Barback should support "Installer" #22913

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


Barback support "Transformer".

In the same way it should support "Installer".
Other purpose but the same way.
Section in pubspec.yaml: installers
Special file in "lib": installer.dart

Barback should provide the following information for installer:

  • Package name
  • Real package directory

Eg.

installer.dart
============
import "package:barback/barback.dart";

class MyInstaller extends Installer {
  void install(Package package) {
    print(package.name);
    print(package.diectory);
    print("I going install or update. This depends on situation...");
  }
}
============

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-invalidClosed as we don't believe the reported issue is generally actionable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions