Skip to content

Commit

Permalink
Expose dependency building to users
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jul 6, 2023
1 parent 4fa05d7 commit 42caed5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ impl Config {
.push((Regex::new(pattern).unwrap().into(), replacement.as_ref()));
}

pub(crate) fn build_dependencies_and_link_them(&mut self) -> Result<()> {
/// Compile dependencies and make sure `Config::program` contains the right flags
/// to find the dependencies.
pub fn build_dependencies_and_link_them(&mut self) -> Result<()> {
let dependencies = build_dependencies(self)?;
for (name, artifacts) in dependencies.dependencies {
for dependency in artifacts {
Expand Down

0 comments on commit 42caed5

Please sign in to comment.