From 9ff1e20064b66918c7cc3f9fc9f5f590b762b927 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Fri, 3 May 2019 12:55:53 -0700 Subject: [PATCH] Run app-snapshot in the before-test grinder task (#660) This matches the behavior recommended by the tests if the snapshot is out-of-date. --- tool/grind.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/grind.dart b/tool/grind.dart index 16f42290..c06f821e 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -5,6 +5,7 @@ import 'package:grinder/grinder.dart'; import 'grind/npm.dart'; +import 'grind/standalone.dart'; import 'grind/synchronize.dart'; export 'grind/bazel.dart'; @@ -35,5 +36,5 @@ format() { npmInstall() => run("npm", arguments: ["install"]); @Task('Runs the tasks that are required for running tests.') -@Depends(format, synchronize, npmPackage, npmInstall) +@Depends(format, synchronize, npmPackage, npmInstall, appSnapshot) beforeTest() {}