Index: pkg/dartino_compiler/lib/src/messages.dart |
diff --git a/pkg/fletchc/lib/src/messages.dart b/pkg/dartino_compiler/lib/src/messages.dart |
similarity index 94% |
rename from pkg/fletchc/lib/src/messages.dart |
rename to pkg/dartino_compiler/lib/src/messages.dart |
index 9347e5395a8dab7ea2aa9c18e87e94fcba4b3bc6..0f8fc5493c241040649aabb63e4550f4884dd766 100644 |
--- a/pkg/fletchc/lib/src/messages.dart |
+++ b/pkg/dartino_compiler/lib/src/messages.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.messages; |
+library dartino_compiler.messages; |
import 'diagnostic.dart' show |
Diagnostic, // For documentation only. |
@@ -151,7 +151,7 @@ String getMessage(DiagnosticKind kind) { |
case DiagnosticKind.noSuchSession: |
return "Couldn't find a session called '$sessionName'. " |
- "Try running 'fletch create session $sessionName'."; |
+ "Try running 'dartino create session $sessionName'."; |
case DiagnosticKind.sessionAlreadyExists: |
return "Couldn't create session named '$sessionName'; " |
@@ -159,7 +159,7 @@ String getMessage(DiagnosticKind kind) { |
case DiagnosticKind.sessionInvalidState: |
return "Session '$sessionName' not in a valid state; " |
- "Please stop attached vm, run 'fletch quit' and retry."; |
+ "Please stop attached vm, run 'dartino quit' and retry."; |
case DiagnosticKind.noFileTarget: |
return "No file provided. Try adding <FILE_NAME> to the command line."; |
@@ -185,20 +185,20 @@ String getMessage(DiagnosticKind kind) { |
case DiagnosticKind.socketVmConnectError: |
return |
- "Unable to establish connection to Fletch VM on $address: $message."; |
+ "Unable to establish connection to Dartino VM on $address: $message."; |
case DiagnosticKind.socketAgentReplyError: |
return "Received invalid reply from Dartino Agent on $address: $message."; |
case DiagnosticKind.socketVmReplyError: |
- return "Received invalid reply from Fletch VM on $address: $message."; |
+ return "Received invalid reply from Dartino VM on $address: $message."; |
case DiagnosticKind.attachToVmBeforeRun: |
return "Unable to run program without being attached to a VM. " |
- "Try running 'fletch attach'."; |
+ "Try running 'dartino attach'."; |
case DiagnosticKind.compileBeforeRun: |
- return "No program to run. Try running 'fletch compile'"; |
+ return "No program to run. Try running 'dartino compile'"; |
case DiagnosticKind.missingToFile: |
return "No destination file provided. " |
@@ -278,7 +278,7 @@ String getMessage(DiagnosticKind kind) { |
case DiagnosticKind.unknownAction: |
return "'$userInput' isn't a supported action. " |
- "Try running 'fletch help'."; |
+ "Try running 'dartino help'."; |
case DiagnosticKind.extraArguments: |
return "Unrecognized arguments: $userInput."; |
@@ -318,7 +318,7 @@ String getMessage(DiagnosticKind kind) { |
"or 'all', but got: '$userInput'. Did you mean 'file $userInput'?"; |
case DiagnosticKind.quitTakesNoArguments: |
- return "Unexpected arguments. Try running 'fletch quit'."; |
+ return "Unexpected arguments. Try running 'dartino quit'."; |
case DiagnosticKind.busySession: |
return "Session '$sessionName' is in use, please try again shortly."; |
@@ -353,11 +353,11 @@ $fixit"""; |
case DiagnosticKind.compilerVersionMismatch: |
return "Command failed because the running compiler and the " |
- "Fletch Command Line Interface (CLI) have " |
+ "Dartino Command Line Interface (CLI) have " |
"different versions.\nCompiler version: '$userInput'\n" |
"CLI version: '$additionalUserInput'.\n" |
- "This can happen if you have recently updated you Fletch SDK. " |
- "Try running 'fletch quit' and retry the command."; |
+ "This can happen if you have recently updated you Dartino SDK. " |
+ "Try running 'dartino quit' and retry the command."; |
case DiagnosticKind.illegalDefine: |
return "The define $userInput has an illegal value part: " |