mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
Merge branch 'nonstop-builder' into 'master'
Allow missing recipe in repo builder See merge request redox-os/cookbook!613
This commit is contained in:
commit
49180ea4f6
@ -59,6 +59,11 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let toml_src = stage_dir.with_extension("toml");
|
||||
let toml_dst = repo_path.join(format!("{}.toml", recipe));
|
||||
|
||||
if !fs::exists(&toml_src)? {
|
||||
eprintln!("recipe {} is missing stage.toml", recipe);
|
||||
continue;
|
||||
}
|
||||
|
||||
if is_newer(&toml_src, &toml_dst) {
|
||||
eprintln!("\x1b[01;38;5;155mrepo - publishing {}\x1b[0m", recipe);
|
||||
if fs::exists(&pkgar_src)? {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user