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

Side by Side Diff: pkg/dart_messages/bin/publish.dart

Issue 2916023004: Make pkg/dart_messages strong. (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « pkg/dart_messages/bin/message_id.dart ('k') | pkg/dart_messages/test/dart_messages_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:convert'; 5 import 'dart:convert';
6 import 'dart:io' as io; 6 import 'dart:io' as io;
7 7
8 import '../lib/shared_messages.dart'; 8 import 'package:dart_messages/shared_messages.dart';
9 9
10 const String jsonPath = '../lib/generated/shared_messages.json'; 10 const String jsonPath = '../lib/generated/shared_messages.json';
11 const String dart2jsPath = 11 const String dart2jsPath =
12 '../../compiler/lib/src/diagnostics/generated/shared_messages.dart'; 12 '../../compiler/lib/src/diagnostics/generated/shared_messages.dart';
13 const String analyzerPath = 13 const String analyzerPath =
14 '../../analyzer/lib/src/generated/generated/shared_messages.dart'; 14 '../../analyzer/lib/src/generated/generated/shared_messages.dart';
15 15
16 final String dontEditWarning = """ 16 final String dontEditWarning = """
17 /* 17 /*
18 DON'T EDIT. GENERATED. DON'T EDIT. 18 DON'T EDIT. GENERATED. DON'T EDIT.
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 /// Translates the shared messages in `../lib/shared_messages.dart` to JSON, 242 /// Translates the shared messages in `../lib/shared_messages.dart` to JSON,
243 /// dart2js, and analyzer formats. 243 /// dart2js, and analyzer formats.
244 /// 244 ///
245 /// Emits the json-output to [jsonPath], the dart2js-output to [dart2jsPath], 245 /// Emits the json-output to [jsonPath], the dart2js-output to [dart2jsPath],
246 /// and the analyzer-output to [analyzerPath]. 246 /// and the analyzer-output to [analyzerPath].
247 void main() { 247 void main() {
248 emitJson(); 248 emitJson();
249 emitDart2js(); 249 emitDart2js();
250 emitAnalyzer(); 250 emitAnalyzer();
251 } 251 }
OLDNEW
« no previous file with comments | « pkg/dart_messages/bin/message_id.dart ('k') | pkg/dart_messages/test/dart_messages_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698