Skip to content

Commit

Permalink
chore: fix relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Sep 19, 2024
1 parent 73932f6 commit 47a48e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions crates/yttrium/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.foundry/
4 changes: 2 additions & 2 deletions crates/yttrium/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fn build_contracts() {

fn format_foundry_dir(path: &str) -> String {
format!(
"{}/../../../../.foundry/{}",
std::env::var("OUT_DIR").unwrap(),
"{}/.foundry/{}",
std::env::var("CARGO_MANIFEST_DIR").unwrap(),
path
)
}
Expand Down
2 changes: 1 addition & 1 deletion crates/yttrium/src/smart_accounts/safe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sol!(
#[allow(missing_docs)]
#[sol(rpc)]
SafeProxyFactory,
"../../target/.foundry/forge/out/SafeProxyFactory.sol/SafeProxyFactory.json"
".foundry/forge/out/SafeProxyFactory.sol/SafeProxyFactory.json"
);

sol!(
Expand Down

0 comments on commit 47a48e0

Please sign in to comment.