updated gnu repo
This commit is contained in:
@ -97,10 +97,7 @@ fn upload_from_repo(repo: &String, pkgname: &String, pkg_md_path: &Path) -> Resu
|
||||
fn check_build_dependency(repo: &String, pkg_md_path: &Path) -> Result<(), bool> {
|
||||
let deps = match parser::get_build_deps(&pkg_md_path) {
|
||||
Ok(deps) => deps,
|
||||
Err(e) => {
|
||||
eprintln!("Failed to parse dependencies {}: {}", &pkg_md_path.to_str().unwrap(), e);
|
||||
return Err(false);
|
||||
}
|
||||
Err(_) => { return Ok(()) }
|
||||
};
|
||||
|
||||
for dependency in deps.lines() {
|
||||
@ -120,10 +117,7 @@ fn check_build_dependency(repo: &String, pkg_md_path: &Path) -> Result<(), bool>
|
||||
fn check_run_dependency(pkg_md_path: &Path) -> Result<(), bool> {
|
||||
let deps = match parser::get_run_deps(pkg_md_path) {
|
||||
Ok(deps) => deps,
|
||||
Err(e) => {
|
||||
eprintln!("Failed to parse dependencies {}: {}", pkg_md_path.display(), e);
|
||||
return Err(false);
|
||||
}
|
||||
Err(_) => { return Ok(()) }
|
||||
};
|
||||
|
||||
let repo_list = match parser::get_repo_list() {
|
||||
|
||||
Reference in New Issue
Block a user