From fbcc43b2ebdd0133773bc4567c6d50ac7ffb05d3 Mon Sep 17 00:00:00 2001 From: Jason Travis Smith Date: Thu, 21 Apr 2016 15:34:03 -0400 Subject: [PATCH] The resource.msnl file is now placed in the correct output directory. --- Cargo.toml | 1 + src/processor.rs | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4a60907..fc7714a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ repository = "https://gitlab.com/CyberMages/mason.git" documentation = "" keywords = ["mason", "build"] + [dependencies.scribe] git = "https://gitlab.com/CyberMages/scribe.git" diff --git a/src/processor.rs b/src/processor.rs index 64107a3..068011f 100644 --- a/src/processor.rs +++ b/src/processor.rs @@ -482,6 +482,7 @@ impl Processor /// fn create_loader_manifest(&self) { + let mut loader_filename: PathBuf; let mut loader: Loader; // Create a new Loader. @@ -496,7 +497,9 @@ impl Processor } // Create the file to write to. - match ::std::fs::File::create(DEFAULT_LOADER_FILENAME) + loader_filename = self.output_dir.clone(); + loader_filename.push(DEFAULT_LOADER_FILENAME); + match ::std::fs::File::create(loader_filename.as_path()) { Ok(file) => {