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

@ -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;