Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: packages/analyzer/tool/summary/check_test.dart

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: packages/analyzer/tool/summary/check_test.dart
diff --git a/packages/analyzer/tool/summary/check_test.dart b/packages/analyzer/tool/summary/check_test.dart
new file mode 100644
index 0000000000000000000000000000000000000000..98f25b6a287df57e7aa3be0ae205cd529f869f37
--- /dev/null
+++ b/packages/analyzer/tool/summary/check_test.dart
@@ -0,0 +1,22 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+library analyzer.tool.summary.check_test;
+
+import 'dart:io';
+
+import 'package:analyzer/src/codegen/tools.dart';
+import 'package:path/path.dart';
+
+import 'generate.dart';
+
+/**
+ * Check that the target file has been code generated. If it hasn't tell the
+ * user to run generate.dart.
+ */
+main() {
+ String script = Platform.script.toFilePath(windows: Platform.isWindows);
+ String pkgPath = normalize(join(dirname(script), '..', '..'));
+ GeneratedContent.checkAll(pkgPath, 'tool/summary/generate.dart', allTargets);
+}
« no previous file with comments | « packages/analyzer/tool/summary/build_sdk_summaries.dart ('k') | packages/analyzer/tool/summary/dump_inferred_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698