| Index: pkg/dartino_compiler/lib/dartino_vm.dart
|
| diff --git a/pkg/fletchc/lib/fletch_vm.dart b/pkg/dartino_compiler/lib/dartino_vm.dart
|
| similarity index 93%
|
| rename from pkg/fletchc/lib/fletch_vm.dart
|
| rename to pkg/dartino_compiler/lib/dartino_vm.dart
|
| index 31b9d12e36c8efbad11d31bae7a333bc9b4a3ecb..4fb4b7687e26cb00e7d894d0951f52e8f228e23a 100644
|
| --- a/pkg/fletchc/lib/fletch_vm.dart
|
| +++ b/pkg/dartino_compiler/lib/dartino_vm.dart
|
| @@ -2,7 +2,7 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -library fletchc.fletch_vm;
|
| +library dartino_compiler.dartino_vm;
|
|
|
| // Please keep this file independent of other libraries in this package as we
|
| // import this directly into test.dart.
|
| @@ -10,7 +10,7 @@ import 'dart:async';
|
| import 'dart:convert';
|
| import 'dart:io';
|
|
|
| -class FletchVm {
|
| +class DartinoVm {
|
| final Process process;
|
|
|
| final String host;
|
| @@ -23,7 +23,7 @@ class FletchVm {
|
|
|
| final Stream<String> stderrLines;
|
|
|
| - const FletchVm(
|
| + const DartinoVm(
|
| this.process,
|
| this.host,
|
| this.port,
|
| @@ -33,7 +33,7 @@ class FletchVm {
|
|
|
| Future<Socket> connect() => Socket.connect(host, port);
|
|
|
| - static Future<FletchVm> start(
|
| + static Future<DartinoVm> start(
|
| String vmPath,
|
| {Uri workingDirectory,
|
| List<String> arguments: const <String>[],
|
| @@ -57,7 +57,7 @@ class FletchVm {
|
| }, () {
|
| if (!addressCompleter.isCompleted) {
|
| addressCompleter.completeError(
|
| - new StateError('The fletch-vm did not print an address on '
|
| + new StateError('The dartino-vm did not print an address on '
|
| 'which it is listening on.'));
|
| }
|
| });
|
| @@ -79,7 +79,7 @@ class FletchVm {
|
|
|
| List<String> address = (await addressCompleter.future).split(":");
|
|
|
| - return new FletchVm(
|
| + return new DartinoVm(
|
| process, address[0], int.parse(address[1]), exitCode,
|
| stdoutLines, stderrLines);
|
| }
|
|
|