chore(build): execute pub get
only if a pubspec.yaml changed and run dart analyzer
on all dart files
`pub get` is now only executed when the `pubspec.yaml` in the `modules` folder is different than the `pubspec.yaml` in the `build/dart` folder. Generates the file `build/dart/_analyzer.dart` that imports all modules to run `dart analyzer` against all of them. The build will fail whenever there are errors, warnings or hints in `dart analyzer`. Changes the sources so that `dart analyzer` does not report any error, warning or hint. Closes #40
This commit is contained in:
@ -25,12 +25,14 @@ export class ProtoRecord {
|
||||
this.prev = null;
|
||||
this.changeNotifier = null;
|
||||
this._clone = null;
|
||||
}
|
||||
this.changeContext = null;
|
||||
this.dispatcherContext = null;
|
||||
}
|
||||
|
||||
instantiate(watchGroup/*:wg.WatchGroup*/):Record {
|
||||
var record = this._clone = new Record(watchGroup, this);
|
||||
record.prev = this.prev._clone;
|
||||
record._checkPrev = this._prev._clone;
|
||||
record._checkPrev = this.prev._clone;
|
||||
return _clone;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user