mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix(ci): specify new rust crates path
This commit is contained in:
parent
cb5b9fde8b
commit
c998a66a46
2 changed files with 3 additions and 7 deletions
|
|
@ -3,12 +3,10 @@
|
||||||
|
|
||||||
# Include project code and build files
|
# Include project code and build files
|
||||||
!PluralKit.*/
|
!PluralKit.*/
|
||||||
!services/
|
|
||||||
!lib/
|
|
||||||
!Myriad/
|
!Myriad/
|
||||||
!.git
|
!.git
|
||||||
!proto
|
|
||||||
!dashboard
|
!dashboard
|
||||||
|
!crates/
|
||||||
|
|
||||||
!Cargo.toml
|
!Cargo.toml
|
||||||
!Cargo.lock
|
!Cargo.lock
|
||||||
|
|
@ -25,4 +23,4 @@
|
||||||
**/node_modules
|
**/node_modules
|
||||||
|
|
||||||
# don't clear docker cache when updating dockerfiles
|
# don't clear docker cache when updating dockerfiles
|
||||||
Dockerfile
|
Dockerfile
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,7 @@ RUN cargo chef cook --release --recipe-path recipe.json --target x86_64-unknown-
|
||||||
COPY Cargo.toml /build/
|
COPY Cargo.toml /build/
|
||||||
COPY Cargo.lock /build/
|
COPY Cargo.lock /build/
|
||||||
|
|
||||||
# this needs to match workspaces in Cargo.toml
|
COPY crates/ /build/crates
|
||||||
COPY lib /build/lib
|
|
||||||
COPY services/ /build/services
|
|
||||||
|
|
||||||
RUN cargo build --bin api --release --target x86_64-unknown-linux-musl
|
RUN cargo build --bin api --release --target x86_64-unknown-linux-musl
|
||||||
RUN cargo build --bin dispatch --release --target x86_64-unknown-linux-musl
|
RUN cargo build --bin dispatch --release --target x86_64-unknown-linux-musl
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue