mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
check all the dart code in the project, not just selected libraries
This commit is contained in:
parent
a320e712de
commit
a4ff100408
|
@ -45,7 +45,7 @@ class _ArtifactStore {
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<String> getPath(Artifact artifact, String packageRoot) async {
|
Future<String> getPath(Artifact artifact, String packageRoot) async {
|
||||||
String engineRevision = await _getEngineRevision(packageRoot);
|
String engineRevision = await _getEngineRevision(packageRoot);
|
||||||
Directory cacheDir = await _cacheDir(engineRevision, packageRoot);
|
Directory cacheDir = await _cacheDir(engineRevision, packageRoot);
|
||||||
|
|
||||||
if (artifact == Artifact.FlutterCompiler) {
|
if (artifact == Artifact.FlutterCompiler) {
|
||||||
|
|
|
@ -8,10 +8,8 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Verify that the libraries are error free.
|
# Verify that the libraries are error free.
|
||||||
dartanalyzer --fatal-warnings \
|
pub global activate tuneup
|
||||||
bin/build_sky_apk.dart \
|
pub global run tuneup check
|
||||||
bin/sky_server.dart \
|
|
||||||
bin/sky_tools.dart
|
|
||||||
|
|
||||||
# And run our tests.
|
# And run our tests.
|
||||||
pub run test
|
pub run test
|
||||||
|
|
Loading…
Reference in a new issue