fix(build): try to eliminate build flakes by running dartstyle:format sequentially

This commit is contained in:
Alex Eagle 2015-03-26 14:33:52 -07:00
parent 5306b6dd0c
commit dd235f38a3
1 changed files with 4 additions and 1 deletions

View File

@ -717,7 +717,10 @@ gulp.task('build/packages.dart', function(done) {
runSequence(
['build/transpile.dart.ts2dart', 'build/transpile.dart', 'build/html.dart', 'build/copy.dart', 'build/multicopy.dart'],
'tests/transform.dart',
['build/format.dart.ts2dart', 'build/format.dart'],
// the two format steps don't need to be sequential, but we have seen flakiness in
// dartstyle:format with connecting to localhost.
'build/format.dart.ts2dart',
'build/format.dart',
'build/pubspec.dart',
done
);