Skip to content

Commit

Permalink
Correct paths in tests/
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Jul 18, 2024
1 parent 6940df9 commit ad76960
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/docker/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn build(name: String) {

let mut dockerfile_path = orchestration_path.clone();
if HashSet::from(["bitcoin", "ethereum", "ethereum-relayer", "monero"]).contains(name.as_str()) {
dockerfile_path = dockerfile_path.join("coins");
dockerfile_path = dockerfile_path.join("networks");
}
if name.contains("-processor") {
dockerfile_path =
Expand Down Expand Up @@ -125,7 +125,7 @@ pub fn build(name: String) {
let meta = |path: PathBuf| (path.clone(), fs::metadata(path));
let mut metadatas = match name.as_str() {
"bitcoin" | "ethereum" | "monero" => vec![],
"ethereum-relayer" => vec![meta(repo_path.join("common")), meta(repo_path.join("coins"))],
"ethereum-relayer" => vec![meta(repo_path.join("common")), meta(repo_path.join("networks"))],
"message-queue" => vec![
meta(repo_path.join("common")),
meta(repo_path.join("crypto")),
Expand All @@ -135,15 +135,15 @@ pub fn build(name: String) {
"bitcoin-processor" | "ethereum-processor" | "monero-processor" => vec![
meta(repo_path.join("common")),
meta(repo_path.join("crypto")),
meta(repo_path.join("coins")),
meta(repo_path.join("networks")),
meta(repo_path.join("substrate")),
meta(repo_path.join("message-queue")),
meta(repo_path.join("processor")),
],
"coordinator" => vec![
meta(repo_path.join("common")),
meta(repo_path.join("crypto")),
meta(repo_path.join("coins")),
meta(repo_path.join("networks")),
meta(repo_path.join("substrate")),
meta(repo_path.join("message-queue")),
meta(repo_path.join("coordinator")),
Expand Down

0 comments on commit ad76960

Please sign in to comment.