building for EVM works with complex cases

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
Cyrill Leutwiler
2025-03-21 18:10:17 +01:00
parent 11bd08df4e
commit 3b713ad2cb
10 changed files with 149 additions and 17 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
[package]
name = "revive-dt-format"
description = "declarative test definition format"
version.workspace = true
authors.workspace = true
license.workspace = true
@@ -13,4 +14,4 @@ anyhow = { workspace = true }
log = { workspace = true }
semver = { workspace = true }
serde = { workspace = true, features = [ "derive" ] }
serde_json = { workspace = true }
serde_json = { workspace = true }
+3 -4
View File
@@ -19,7 +19,6 @@ pub struct Metadata {
pub ignore: Option<bool>,
pub modes: Option<Vec<Mode>>,
pub path: Option<PathBuf>,
pub directory: Option<PathBuf>,
}
impl Metadata {
@@ -62,7 +61,7 @@ impl Metadata {
match serde_json::from_reader::<_, Metadata>(file) {
Ok(mut metadata) => {
metadata.directory = Some(path.to_path_buf());
metadata.path = Some(path.to_path_buf());
Some(metadata)
}
Err(error) => {
@@ -75,7 +74,7 @@ impl Metadata {
}
}
fn try_from_solidity(path: &Path) -> Option<Self> {
todo!()
fn try_from_solidity(_path: &Path) -> Option<Self> {
None
}
}