10 lines
330 B
Bash
10 lines
330 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# Set "chatgpt.cliExecutable": "/Users/<USERNAME>/code/codex/scripts/debug-codex.sh" in VSCode settings to always get the
|
||
|
|
# latest codex-rs binary when debugging Codex Extension.
|
||
|
|
|
||
|
|
|
||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
CODEX_RS_DIR=$(realpath "$(dirname "$0")/../codex-rs")
|
||
|
|
(cd "$CODEX_RS_DIR" && cargo run --quiet --bin codex -- "$@")
|