Show the user the output of the compile command so they know something is happening, plus if there is an error they need to address.

This commit is contained in:
Joe Toth 2020-05-31 19:06:31 -04:00 committed by Ferran Basora
parent 794621f526
commit 0cf29dd942

View File

@ -11,5 +11,5 @@ tmux bind-key $THUMBS_KEY run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
BINARY="${CURRENT_DIR}/target/release/thumbs"
if [ ! -f "$BINARY" ]; then
cd "${CURRENT_DIR}" && cargo build --release
tmux split-window "cd ${CURRENT_DIR} && cargo build --release && echo 'Press any key to continue...' && read -k1"
fi