Reorganize repl modules

This commit is contained in:
Richard Feldman 2022-10-27 02:24:39 -04:00
parent 9f498add60
commit a6c1667d37
No known key found for this signature in database
GPG key ID: F1F21AA5B1D9E43B
9 changed files with 400 additions and 359 deletions

View file

@ -15,6 +15,7 @@ lazy_static = "1.4.0"
indoc = "1.0.7"
strip-ansi-escapes = "0.1.1"
wasmer-wasi = "2.2.1"
rustyline = {git = "https://github.com/roc-lang/rustyline", rev = "e74333c"}
roc_repl_cli = {path = "../repl_cli"}
roc_test_utils = {path = "../test_utils"}

View file

@ -3,7 +3,8 @@ use std::io::Write;
use std::path::PathBuf;
use std::process::{Command, ExitStatus, Stdio};
use roc_repl_cli::{TIPS, WELCOME_MESSAGE};
use roc_repl_cli::repl_state::TIPS;
use roc_repl_cli::WELCOME_MESSAGE;
use roc_test_utils::assert_multiline_str_eq;
const ERROR_MESSAGE_START: char = '─';

View file

@ -5,6 +5,9 @@ extern crate lazy_static;
#[cfg(test)]
mod tests;
#[cfg(test)]
mod state;
#[cfg(all(test, not(feature = "wasm")))]
mod cli;