mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(justfile): resolve cargo target dir for staging sidecar copy (#1700)
Signed-off-by: Matt Toohey <contact@matttoohey.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
389a956e02
commit
a088822b5b
@@ -355,7 +355,8 @@ staging *ARGS: bootstrap _ensure-sidecar-stubs
|
||||
fi
|
||||
# Replace the 0-byte sidecar stub with the real CLI binary so tauri dev picks it up.
|
||||
TARGET=$(rustc -vV | sed -n 's|host: ||p')
|
||||
cp target/release/buzz "desktop/src-tauri/binaries/buzz-${TARGET}"
|
||||
TARGET_DIR=$(cargo metadata --format-version 1 --no-deps | node -p "JSON.parse(require('fs').readFileSync(0, 'utf8')).target_directory")
|
||||
cp "${TARGET_DIR}/release/buzz" "desktop/src-tauri/binaries/buzz-${TARGET}"
|
||||
chmod +x "desktop/src-tauri/binaries/buzz-${TARGET}"
|
||||
cd {{desktop_dir}}
|
||||
export BUZZ_RELAY_URL="wss://sprout-oss.stage.blox.sqprod.co"
|
||||
|
||||
Reference in New Issue
Block a user