From a2f812bf8dfd70b818f6fc5b8e93a61dffcc5e4d Mon Sep 17 00:00:00 2001 From: Zeke Foppa <196249+bfops@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:52:17 -0700 Subject: [PATCH] Make `schema` crate publishable (#1569) Co-authored-by: Zeke Foppa --- crates/schema/Cargo.toml | 2 ++ crates/schema/LICENSE | 0 tools/publish-crates.sh | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 crates/schema/LICENSE diff --git a/crates/schema/Cargo.toml b/crates/schema/Cargo.toml index 43cde276a..61ebf803b 100644 --- a/crates/schema/Cargo.toml +++ b/crates/schema/Cargo.toml @@ -2,6 +2,8 @@ name = "spacetimedb-schema" version.workspace = true edition.workspace = true +license-file = "LICENSE" +description = "Schema library for SpacetimeDB" rust-version.workspace = true [dependencies] diff --git a/crates/schema/LICENSE b/crates/schema/LICENSE new file mode 100644 index 000000000..e69de29bb diff --git a/tools/publish-crates.sh b/tools/publish-crates.sh index 51af11d22..f93d9d15c 100755 --- a/tools/publish-crates.sh +++ b/tools/publish-crates.sh @@ -23,7 +23,7 @@ if [ $DRY_RUN != 1 ] ; then fi BASEDIR=$(pwd) -declare -a CRATES=("metrics" "primitives" "bindings-macro" "bindings-sys" "data-structures" "sats" "lib" "bindings" "table" "vm" "client-api-messages" "commitlog" "durability" "fs-utils" "snapshot" "core" "client-api" "standalone" "cli" "sdk") +declare -a CRATES=("metrics" "primitives" "bindings-macro" "bindings-sys" "data-structures" "sats" "lib" "schema" "bindings" "table" "vm" "client-api-messages" "commitlog" "durability" "fs-utils" "snapshot" "core" "client-api" "standalone" "cli" "sdk") for crate in "${CRATES[@]}" ; do if [ ! -d "${BASEDIR}/crates/${crate}" ] ; then