Move license to the top.

R=lrn@google.com

Review URL: https://codereview.chromium.org/1636443002 .
This commit is contained in:
Florian Loitsch 2016-01-26 11:35:02 +01:00
parent 091d807d71
commit bbde44f7cc
3 changed files with 8 additions and 8 deletions

View file

@ -1,3 +1,6 @@
// 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.
/*
DON'T EDIT. GENERATED. DON'T EDIT.
This file has been generated by 'publish.dart' in the dart_messages package.
@ -6,9 +9,6 @@ Messages are maintained in `lib/shared_messages.dart` of that same package.
After any change to that file, run `bin/publish.dart` to generate a new version
of the json, dart2js and analyzer representations.
*/
// 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.
import 'package:analyzer/src/generated/error.dart';
const AnalysisOptionsErrorCode exampleMessage = const AnalysisOptionsErrorCode(

View file

@ -1,3 +1,6 @@
// 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.
/*
DON'T EDIT. GENERATED. DON'T EDIT.
This file has been generated by 'publish.dart' in the dart_messages package.
@ -6,9 +9,6 @@ Messages are maintained in `lib/shared_messages.dart` of that same package.
After any change to that file, run `bin/publish.dart` to generate a new version
of the json, dart2js and analyzer representations.
*/
// 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.
import '../messages.dart' show MessageTemplate;
enum SharedMessageKind {

View file

@ -90,8 +90,8 @@ void emitDart2js() {
var enumIds = input.keys.toList();
StringBuffer out = new StringBuffer();
out.writeln(dontEditWarning);
out.writeln(copyrightHeader);
out.writeln(dontEditWarning);
out.writeln("import '../messages.dart' show MessageTemplate;");
out.writeln();
out.write(("enum SharedMessageKind {\n "));
@ -188,8 +188,8 @@ void emitAnalyzer() {
print(" Output: $outPath");
StringBuffer out = new StringBuffer();
out.writeln(dontEditWarning);
out.writeln(copyrightHeader);
out.writeln(dontEditWarning);
out.writeln("import 'package:analyzer/src/generated/error.dart';");
out.writeln();
input.forEach((name, message) {