Closed
Description
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...");
}
}
============