From ffff4a43690fba40b33a9d9a2789d9e4b865a430 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Wed, 11 Aug 2021 02:16:03 +0800 Subject: [PATCH] Moved the proc-block macro integration tests back into the macros crate --- Cargo.lock | 3 +-- proc-blocks/macros/Cargo.toml | 1 + proc-blocks/{proc-blocks => macros}/tests/smoke_test.rs | 0 proc-blocks/proc-blocks/Cargo.toml | 4 ---- 4 files changed, 2 insertions(+), 6 deletions(-) rename proc-blocks/{proc-blocks => macros}/tests/smoke_test.rs (100%) diff --git a/Cargo.lock b/Cargo.lock index 41bcc9ce10..49186200d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1253,6 +1253,7 @@ version = "0.5.2" dependencies = [ "difference", "hotg-rune-core", + "hotg-rune-proc-blocks", "pretty_assertions", "proc-macro2", "quote", @@ -1265,10 +1266,8 @@ dependencies = [ name = "hotg-rune-proc-blocks" version = "0.5.2" dependencies = [ - "difference", "hotg-rune-core", "hotg-rune-proc-block-macros", - "pretty_assertions", "serde", ] diff --git a/proc-blocks/macros/Cargo.toml b/proc-blocks/macros/Cargo.toml index 577055f743..06f318c2c9 100644 --- a/proc-blocks/macros/Cargo.toml +++ b/proc-blocks/macros/Cargo.toml @@ -27,3 +27,4 @@ syn = { version = "1.0.72", features = ["extra-traits", "full"] } [dev-dependencies] difference = "2.0.0" pretty_assertions = "0.7.2" +hotg-rune-proc-blocks = { path = "../proc-blocks" } diff --git a/proc-blocks/proc-blocks/tests/smoke_test.rs b/proc-blocks/macros/tests/smoke_test.rs similarity index 100% rename from proc-blocks/proc-blocks/tests/smoke_test.rs rename to proc-blocks/macros/tests/smoke_test.rs diff --git a/proc-blocks/proc-blocks/Cargo.toml b/proc-blocks/proc-blocks/Cargo.toml index a9604d7afd..afedd9cd09 100644 --- a/proc-blocks/proc-blocks/Cargo.toml +++ b/proc-blocks/proc-blocks/Cargo.toml @@ -17,7 +17,3 @@ readme = "README.md" hotg-rune-proc-block-macros = { path = "../macros", version = "^0.5.2" } hotg-rune-core = { path = "../../crates/rune-core", version = "^0.5.2", default-features = false } serde = { version = "1.0.126", default-features = false, features = ["derive", "alloc"] } - -[dev-dependencies] -difference = "2.0.0" -pretty_assertions = "0.7.2"