Move File module and tests to the shell project
Signed-off-by: Ava Affine <ava@sunnypup.io>
This commit is contained in:
parent
6d2925984f
commit
74f73fb493
4 changed files with 87 additions and 82 deletions
|
|
@ -31,8 +31,10 @@ use crate::posix;
|
|||
|
||||
#[path = "window.rs"]
|
||||
mod window;
|
||||
#[path = "store.rs"]
|
||||
#[path = "store.rs"]
|
||||
mod store;
|
||||
#[path = "file.rs"]
|
||||
mod file;
|
||||
|
||||
pub const CONSOLE_XDIM_VNAME: &str = "_FLESH_WIDTH";
|
||||
pub const CONSOLE_YDIM_VNAME: &str = "_FLESH_HEIGHT";
|
||||
|
|
@ -63,6 +65,7 @@ fn prompt_delimiter_default_callback(_: &Seg, _: &mut SymTable) -> Result<Ctr, T
|
|||
pub fn static_stdlib_overwrites(syms: &mut SymTable) {
|
||||
static_stdlib(syms);
|
||||
window::add_window_lib_funcs(syms);
|
||||
file::add_file_lib(syms);
|
||||
|
||||
syms.insert(
|
||||
"call".to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue