From edda65023855e7ab4f89c88e86e2fbe58fdf62ee Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Sun, 23 Aug 2026 17:47:19 -0700 Subject: [PATCH] fix(ci): add workspace root src/lib.rs, fix Docker build target --- Dockerfile | 5 +++-- src/lib.rs | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/lib.rs diff --git a/Dockerfile b/Dockerfile index e0d4626..2198f2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,12 +9,13 @@ RUN apt-get update && apt-get install -y \ libssl-dev \ && rm -rf /var/lib/apt/lists/* -# Copy manifests +# Copy manifests and source COPY Cargo.toml Cargo.lock ./ +RUN mkdir -p src && echo '// workspace root' > src/lib.rs COPY crates ./crates # Build release binary -RUN cargo build --release --bin mem +RUN cargo build --release -p mem-cli --bin mem # Runtime stage FROM debian:bookworm-slim diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..ee4303f --- /dev/null +++ b/src/lib.rs @@ -0,0 +1 @@ +// Workspace root - integration tests live in tests/