mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-22 21:05:00 +00:00
fixate the cargo output target path to the expected one
This commit is contained in:
parent
0cf29dd942
commit
9416da2579
@ -11,5 +11,5 @@ tmux bind-key $THUMBS_KEY run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
|
|||||||
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
||||||
|
|
||||||
if [ ! -f "$BINARY" ]; then
|
if [ ! -f "$BINARY" ]; then
|
||||||
tmux split-window "cd ${CURRENT_DIR} && cargo build --release && echo 'Press any key to continue...' && read -k1"
|
tmux split-window "cd ${CURRENT_DIR} && cargo build --release --target-dir=target && echo 'Press any key to continue...' && read -k1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user