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

Side by Side Diff: lib/devc.dart

Issue 967933005: rename ddc -> dev_compiler, fixes #84 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 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 | « lib/config.dart ('k') | lib/runtime/dart_logging_runtime.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 /// Command line tool to run the checker on a Dart program. 5 /// Command line tool to run the checker on a Dart program.
6 library ddc.devc; 6 library dev_compiler.devc;
7 7
8 import 'dart:async'; 8 import 'dart:async';
9 import 'dart:convert'; 9 import 'dart:convert';
10 import 'dart:io'; 10 import 'dart:io';
11 11
12 import 'package:logging/logging.dart' show Level, Logger, LogRecord; 12 import 'package:logging/logging.dart' show Level, Logger, LogRecord;
13 import 'package:path/path.dart' as path; 13 import 'package:path/path.dart' as path;
14 import 'package:html5lib/parser.dart' show parse; 14 import 'package:html5lib/parser.dart' show parse;
15 15
16 import 'src/checker/resolver.dart'; 16 import 'src/checker/resolver.dart';
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 if (options.dumpInfo && reporter is SummaryReporter) { 162 if (options.dumpInfo && reporter is SummaryReporter) {
163 print(summaryToString(reporter.result)); 163 print(summaryToString(reporter.result));
164 if (options.dumpInfoFile != null) { 164 if (options.dumpInfoFile != null) {
165 new File(options.dumpInfoFile) 165 new File(options.dumpInfoFile)
166 .writeAsStringSync(JSON.encode(reporter.result.toJsonMap())); 166 .writeAsStringSync(JSON.encode(reporter.result.toJsonMap()));
167 } 167 }
168 } 168 }
169 return new CheckerResults(libraries, rules, failure || options.forceCompile); 169 return new CheckerResults(libraries, rules, failure || options.forceCompile);
170 } 170 }
171 171
172 final _log = new Logger('ddc'); 172 final _log = new Logger('dev_compiler');
173 final _earlyErrorResult = new CheckerResults(const [], null, true); 173 final _earlyErrorResult = new CheckerResults(const [], null, true);
OLDNEW
« no previous file with comments | « lib/config.dart ('k') | lib/runtime/dart_logging_runtime.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698