Skip to content

Commit

Permalink
Run app-snapshot in the before-test grinder task (#660)
Browse files Browse the repository at this point in the history
This matches the behavior recommended by the tests if the snapshot is
out-of-date.
  • Loading branch information
nex3 committed May 3, 2019
1 parent 34c068a commit 9ff1e20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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() {}

0 comments on commit 9ff1e20

Please sign in to comment.