#!/bin/bash # # Run a local `warp_tui` build. # # Runs the OSS TUI binary. Unlike the GUI `./script/run`, the TUI is a # console binary, so there is no `.app` bundle step. # # Extra arguments are forwarded to `cargo run` (e.g. `--release`). set -e REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" cd "${REPO_ROOT}" BIN="warp-tui-oss" CHANNEL="oss" echo "Running cargo run -p warp_tui --bin ${BIN} (channel: ${CHANNEL})" exec cargo run -p warp_tui --bin "${BIN}" "$@"