Skip to content

Commit

Permalink
Use crates dir structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfbacon committed Jun 22, 2024
1 parent d460ae0 commit 5ce0070
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
members = ["bot", "protocol", "worker"]
default-members = ["bot"]
members = ["crates/bot", "crates/protocol", "crates/worker"]
default-members = ["crates/bot"]
resolver = "2"

[profile.dev]
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ WORKDIR /typst-bot

# Compilation requires only the source code.
COPY Cargo.toml Cargo.lock ./
COPY protocol protocol
COPY worker worker
COPY bot bot
COPY crates crates

RUN cargo build --release --all --config git-fetch-with-cli=true

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5ce0070

Please sign in to comment.