|
match built::util::get_repo_head(src.as_ref()) { |
|
Ok(Some((_branch, _commit, _commit_short))) => (), |
|
Ok(None) => panic!("Error: Build script could not find git commit information"), |
|
Err(e) => panic!("Build script error: {}", e), |
|
}; |
This will eventually be a pain for downstream distribution packagers.