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

Unified Diff: tools/immic/lib/src/emitter.dart

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: 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 | « tools/immic/lib/compiler.dart ('k') | tools/immic/lib/src/grammar.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/immic/lib/src/emitter.dart
diff --git a/tools/immic/lib/src/emitter.dart b/tools/immic/lib/src/emitter.dart
deleted file mode 100644
index 3d472c07c7fd36dfe4fd6e998f31d3842ded8ee1..0000000000000000000000000000000000000000
--- a/tools/immic/lib/src/emitter.dart
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2015, the Dartino 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.
-
-library servicec.emitter;
-
-import 'dart:io';
-
-import 'package:path/path.dart' show basenameWithoutExtension, join;
-
-void writeToFile(String outputDirectory,
- String path,
- String contents,
- {String extension}) {
- // Create output directory if it doesn't already exist.
- new Directory(outputDirectory).createSync(recursive: true);
- // Write contents of the file.
- String fileName = path;
- if (extension != null) {
- String base = basenameWithoutExtension(path);
- fileName = '$base.$extension';
- }
- String filePath = join(outputDirectory, fileName);
- new File(filePath).writeAsStringSync(contents);
-}
-
« no previous file with comments | « tools/immic/lib/compiler.dart ('k') | tools/immic/lib/src/grammar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698