feat(env): added DISABLE_GIT_LFS_CHECK

This commit is contained in:
Songtronix 2019-10-05 10:33:18 +02:00
parent 4498cece46
commit aa556ba4b3

View File

@ -30,6 +30,7 @@ fn main() {
Err(e) => panic!("failed to retrieve current git commit hash: {}", e), Err(e) => panic!("failed to retrieve current git commit hash: {}", e),
} }
// Check if git-lfs is working // Check if git-lfs is working
if std::env::var("DISABLE_GIT_LFS_CHECK").is_err() {
let asset_path: PathBuf = ["..", "assets", "voxygen", "background", "bg_main.png"] let asset_path: PathBuf = ["..", "assets", "voxygen", "background", "bg_main.png"]
.iter() .iter()
.collect(); .collect();
@ -59,3 +60,4 @@ fn main() {
); );
} }
} }
}