From 71de1efc147ce4a74a3293f758b2bd02c0caa7f5 Mon Sep 17 00:00:00 2001 From: Michal Moskal Date: Tue, 3 Dec 2024 09:21:53 -0800 Subject: [PATCH] run cargo build in test-guidance.sh --- Cargo.toml | 6 ++++++ scripts/test-guidance.sh | 1 + 2 files changed, 7 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1b3f4dc0..f1a2bd4f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,12 @@ members = [ "toktrie", "toktrie_hf_tokenizers", ] +default-members = [ + "parser", + "sample_parser", + "toktrie", + "toktrie_hf_tokenizers", +] resolver = "2" [profile.release] diff --git a/scripts/test-guidance.sh b/scripts/test-guidance.sh index b4b854e8..c154670d 100755 --- a/scripts/test-guidance.sh +++ b/scripts/test-guidance.sh @@ -3,6 +3,7 @@ set -e cd $(dirname $0)/.. +cargo build --locked cargo test echo "Running sample_parser"