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

Unified Diff: prepend.dart

Issue 2107023003: stop using dart2dart in Makefile (Closed) Base URL: git@github.com:dart-lang/dart-protoc-plugin.git@master
Patch Set: fix description Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/protoc-gen-dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: prepend.dart
diff --git a/prepend.dart b/prepend.dart
deleted file mode 100755
index 5ca276f3a5d32f18bc20c2d88cf5568791a898d4..0000000000000000000000000000000000000000
--- a/prepend.dart
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/usr/bin/env dart
-import 'dart:io';
-
-main(List<String> arguments) {
- final fileName = arguments.first;
- 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 | « bin/protoc-gen-dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698