Update 'build.rs'
This commit is contained in:
parent
a8743a1d9c
commit
2a79df726c
3
build.rs
3
build.rs
|
@ -14,8 +14,7 @@ type Translations = HashMap<Key, HashMap<Locale, Value>>;
|
||||||
|
|
||||||
fn read_locales() -> Translations {
|
fn read_locales() -> Translations {
|
||||||
let mut translations: Translations = HashMap::new();
|
let mut translations: Translations = HashMap::new();
|
||||||
dotenvy::dotenv().unwrap();
|
let build_directory = "/Users/franklinblanco/developer/repos/blanco-lorenzo/bl-frontend";
|
||||||
let build_directory = std::env::var("PWD").unwrap();
|
|
||||||
let locales = format!("{}/**/locales/**/*.json", build_directory);
|
let locales = format!("{}/**/locales/**/*.json", build_directory);
|
||||||
println!("Reading {}", &locales);
|
println!("Reading {}", &locales);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue