mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-08-31 16:22:29 +00:00
Merge remote-tracking branch 'origin/main' into feat/elasticsearch
Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
# If you're having trouble building this locally or on your CI, try lowering
|
||||
# the job count via CARGO_BUILD_JOBS. It defaults to 10.
|
||||
|
||||
if [ -z "$TARGETARCH" ]; then
|
||||
:
|
||||
@@ -62,9 +64,9 @@ deps() {
|
||||
tee crates/core/ratelimits/src/lib.rs
|
||||
|
||||
if [ -z "$TARGETARCH" ]; then
|
||||
cargo build -j 10 --locked --release
|
||||
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release
|
||||
else
|
||||
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
|
||||
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release --target "${BUILD_TARGET}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -86,9 +88,9 @@ apps() {
|
||||
crates/core/ratelimits/src/lib.rs
|
||||
|
||||
if [ -z "$TARGETARCH" ]; then
|
||||
cargo build -j 10 --locked --release
|
||||
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release
|
||||
else
|
||||
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
|
||||
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release --target "${BUILD_TARGET}"
|
||||
mv target _target && mv _target/"${BUILD_TARGET}" target
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user