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

Unified Diff: prepend.dart

Issue 25708003: Update the protocol buffer compiler plugin to use Int64 from the fixnum package (Closed) Base URL: https://github.com/dart-lang/dart-protoc-plugin.git@master
Patch Set: Created 7 years, 2 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
« no previous file with comments | « lib/protobuf_field.dart ('k') | pubspec.yaml » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: prepend.dart
diff --git a/prepend.dart b/prepend.dart
index 1ed9217852d1fe7cce54d3363731554d6cc5c75f..397cfc56aab4ebabaeed2a9c5c2d141cb67a28f6 100755
--- a/prepend.dart
+++ b/prepend.dart
@@ -6,4 +6,7 @@ main() {
final file = new File(fileName);
final content = file.readAsStringSync();
file.writeAsStringSync('#!/usr/bin/env dart\n$content');
+ // For development use the line below instead of the one above to
+ // avoid using the dart2dart code.
+ // file.writeAsStringSync('#!/bin/bash\ndart bin/protoc_plugin.dart');
}
« no previous file with comments | « lib/protobuf_field.dart ('k') | pubspec.yaml » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698