File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ .git
2+ .github
3+ .scratch
4+ logs
5+ target
6+ worktree
7+
8+ ** /node_modules
9+ ** /.next
10+ ** /out
11+
12+ gateway /bin
Original file line number Diff line number Diff line change @@ -36,17 +36,21 @@ WORKDIR /app
3636COPY Cargo.toml Cargo.lock* ./
3737COPY server/Cargo.toml ./server/
3838COPY clients/rust/Cargo.toml ./clients/rust/
39+ COPY cxtx/Cargo.toml ./cxtx/
3940
4041# Create dummy sources to build dependencies
41- RUN mkdir -p server/src clients/rust/src && \
42+ RUN mkdir -p server/src clients/rust/src cxtx/src && \
4243 echo "fn main() {}" > server/src/main.rs && \
4344 echo "pub fn dummy() {}" > clients/rust/src/lib.rs && \
45+ echo "pub fn dummy() {}" > cxtx/src/lib.rs && \
46+ echo "fn main() {}" > cxtx/src/main.rs && \
4447 cargo build --release --manifest-path server/Cargo.toml && \
45- rm -rf server/src clients/rust/src
48+ rm -rf server/src clients/rust/src cxtx/src
4649
4750# Copy actual source and build
4851COPY server/ ./server/
4952COPY clients/ ./clients/
53+ COPY cxtx/ ./cxtx/
5054RUN touch server/src/main.rs && \
5155 cargo build --release --manifest-path server/Cargo.toml
5256
You can’t perform that action at this time.
0 commit comments