Fix include_str!() in imag-init
Fixed by symlinking the imagrc.toml file to the crate directory of imag-init.
This commit is contained in:
parent
fa8af0c053
commit
8a3f2602e0
2 changed files with 3 additions and 1 deletions
1
bin/core/imag-init/imagrc.toml
Symbolic link
1
bin/core/imag-init/imagrc.toml
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../imagrc.toml
|
|
@ -45,7 +45,8 @@ use std::path::PathBuf;
|
|||
use std::path::Path;
|
||||
use std::process::Command;
|
||||
|
||||
const CONFIGURATION_STR : &'static str = include_str!("../../../../imagrc.toml");
|
||||
const CONFIGURATION_STR : &'static str = include_str!("../imagrc.toml");
|
||||
|
||||
const GITIGNORE_STR : &'static str = r#"
|
||||
# We ignore the imagrc.toml file by default
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue