Imfs test

This commit is contained in:
Lucien Greathouse
2018-12-14 14:33:45 -08:00
parent 3feb8c3344
commit f43dc99f7a
4 changed files with 113 additions and 14 deletions

View File

@@ -77,7 +77,8 @@ pub fn build(options: &BuildOptions) -> Result<(), BuildError> {
info!("Found project at {}", project.file_location.display());
info!("Using project {:#?}", project);
let imfs = Imfs::new(&project)?;
let mut imfs = Imfs::new();
imfs.add_roots_from_project(&project)?;
let tree = construct_oneoff_tree(&project, &imfs);
let mut file = File::create(&options.output_file)?;