mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 14:09:25 +00:00
Correct paths in tests/
This commit is contained in:
@@ -86,7 +86,7 @@ pub fn build(name: String) {
|
|||||||
|
|
||||||
let mut dockerfile_path = orchestration_path.clone();
|
let mut dockerfile_path = orchestration_path.clone();
|
||||||
if HashSet::from(["bitcoin", "ethereum", "ethereum-relayer", "monero"]).contains(name.as_str()) {
|
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") {
|
if name.contains("-processor") {
|
||||||
dockerfile_path =
|
dockerfile_path =
|
||||||
@@ -125,7 +125,7 @@ pub fn build(name: String) {
|
|||||||
let meta = |path: PathBuf| (path.clone(), fs::metadata(path));
|
let meta = |path: PathBuf| (path.clone(), fs::metadata(path));
|
||||||
let mut metadatas = match name.as_str() {
|
let mut metadatas = match name.as_str() {
|
||||||
"bitcoin" | "ethereum" | "monero" => vec![],
|
"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![
|
"message-queue" => vec![
|
||||||
meta(repo_path.join("common")),
|
meta(repo_path.join("common")),
|
||||||
meta(repo_path.join("crypto")),
|
meta(repo_path.join("crypto")),
|
||||||
@@ -135,7 +135,7 @@ pub fn build(name: String) {
|
|||||||
"bitcoin-processor" | "ethereum-processor" | "monero-processor" => vec![
|
"bitcoin-processor" | "ethereum-processor" | "monero-processor" => vec![
|
||||||
meta(repo_path.join("common")),
|
meta(repo_path.join("common")),
|
||||||
meta(repo_path.join("crypto")),
|
meta(repo_path.join("crypto")),
|
||||||
meta(repo_path.join("coins")),
|
meta(repo_path.join("networks")),
|
||||||
meta(repo_path.join("substrate")),
|
meta(repo_path.join("substrate")),
|
||||||
meta(repo_path.join("message-queue")),
|
meta(repo_path.join("message-queue")),
|
||||||
meta(repo_path.join("processor")),
|
meta(repo_path.join("processor")),
|
||||||
@@ -143,7 +143,7 @@ pub fn build(name: String) {
|
|||||||
"coordinator" => vec![
|
"coordinator" => vec![
|
||||||
meta(repo_path.join("common")),
|
meta(repo_path.join("common")),
|
||||||
meta(repo_path.join("crypto")),
|
meta(repo_path.join("crypto")),
|
||||||
meta(repo_path.join("coins")),
|
meta(repo_path.join("networks")),
|
||||||
meta(repo_path.join("substrate")),
|
meta(repo_path.join("substrate")),
|
||||||
meta(repo_path.join("message-queue")),
|
meta(repo_path.join("message-queue")),
|
||||||
meta(repo_path.join("coordinator")),
|
meta(repo_path.join("coordinator")),
|
||||||
|
|||||||
Reference in New Issue
Block a user