From dd235f38a301cc60f1a0df40a853845009647f0b Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 26 Mar 2015 14:33:52 -0700 Subject: [PATCH] fix(build): try to eliminate build flakes by running dartstyle:format sequentially --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index d21bd7866f..1ad77565e6 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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 );