Skip to content

Commit

Permalink
bsys: Attempt to install dependencies before building
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Nov 17, 2024
1 parent f9239f0 commit cf8ffc0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bsys.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ int bsys_build(bsys_t const* bsys, char const* preinstall_prefix) {
return 0;
}

// Install dependencies.

if (bsys_deps(bsys) < 0) {
return -1;
}

// Ensure the output path exists.
// TODO Do this with mkdir_recursive? Do this in main.c?

if (bsys->key != NULL) {
char* CLEANUP_STR path;
Expand Down

0 comments on commit cf8ffc0

Please sign in to comment.