The resource.msnl file is now placed in the correct output directory.

This commit is contained in:
Jason Travis Smith 2016-04-21 15:34:03 -04:00
parent 1f6ade85fa
commit fbcc43b2eb
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,7 @@ repository = "https://gitlab.com/CyberMages/mason.git"
documentation = "" documentation = ""
keywords = ["mason", "build"] keywords = ["mason", "build"]
[dependencies.scribe] [dependencies.scribe]
git = "https://gitlab.com/CyberMages/scribe.git" git = "https://gitlab.com/CyberMages/scribe.git"

View File

@ -482,6 +482,7 @@ impl Processor
/// ///
fn create_loader_manifest(&self) fn create_loader_manifest(&self)
{ {
let mut loader_filename: PathBuf;
let mut loader: Loader; let mut loader: Loader;
// Create a new Loader. // Create a new Loader.
@ -496,7 +497,9 @@ impl Processor
} }
// Create the file to write to. // 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) => Ok(file) =>
{ {