From 85e92c3bc04d29b98fac62bcb3feeef51589cecc Mon Sep 17 00:00:00 2001 From: Tarrence van As Date: Mon, 18 Dec 2023 23:19:04 -0500 Subject: [PATCH] Add types-test to cargo release (#1314) --- Cargo.lock | 4 ++++ Cargo.toml | 1 + crates/torii/types-test/Cargo.toml | 15 +++++++++++++++ crates/torii/types-test/Scarb.lock | 2 +- crates/torii/types-test/Scarb.toml | 2 +- crates/torii/types-test/src/lib.rs | 1 + 6 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 crates/torii/types-test/Cargo.toml create mode 100644 crates/torii/types-test/src/lib.rs diff --git a/Cargo.lock b/Cargo.lock index 2a8b652c6c..05748eb8b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -10176,6 +10176,10 @@ version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +[[package]] +name = "types-test" +version = "0.4.2" + [[package]] name = "ucd-trie" version = "0.1.6" diff --git a/Cargo.toml b/Cargo.toml index bedca48a7d..1ece9cfe98 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,7 @@ members = [ "crates/sozo", "crates/torii/client", "crates/torii/server", + "crates/torii/types-test", "examples/spawn-and-move", ] diff --git a/crates/torii/types-test/Cargo.toml b/crates/torii/types-test/Cargo.toml new file mode 100644 index 0000000000..5f67ac8803 --- /dev/null +++ b/crates/torii/types-test/Cargo.toml @@ -0,0 +1,15 @@ +[package] +edition.workspace = true +license-file.workspace = true +name = "types-test" +repository.workspace = true +version.workspace = true + +[package.metadata.release] +pre-release-replacements = [ + { file = "Scarb.lock", search = "^name = \"dojo\"\nversion = \".*\"$", replace = "name = \"dojo\"\nversion = \"{{version}}\"", min = 1 }, + { file = "Scarb.toml", search = "^version = \".*\"$", replace = "version = \"{{version}}\"", min = 1 }, +] + +[lib] +path = "src/lib.rs" diff --git a/crates/torii/types-test/Scarb.lock b/crates/torii/types-test/Scarb.lock index 4f2d7aa41c..736f84366b 100644 --- a/crates/torii/types-test/Scarb.lock +++ b/crates/torii/types-test/Scarb.lock @@ -3,7 +3,7 @@ version = 1 [[package]] name = "dojo" -version = "0.4.1" +version = "0.4.2" dependencies = [ "dojo_plugin", ] diff --git a/crates/torii/types-test/Scarb.toml b/crates/torii/types-test/Scarb.toml index 28eb076fb8..ac5bfa187f 100644 --- a/crates/torii/types-test/Scarb.toml +++ b/crates/torii/types-test/Scarb.toml @@ -1,7 +1,7 @@ [package] cairo-version = "2.4.0" name = "types_test" -version = "0.1.0" +version = "0.4.2" [cairo] sierra-replace-ids = true diff --git a/crates/torii/types-test/src/lib.rs b/crates/torii/types-test/src/lib.rs new file mode 100644 index 0000000000..4199cceb5f --- /dev/null +++ b/crates/torii/types-test/src/lib.rs @@ -0,0 +1 @@ +// Placeholder so we can use `cargo release` to update Scarb.toml