vibe/scripts/ci/smoke-pyinstaller-cli.sh
Guillaume LE GOFF cafb6d4147
v2.15.0 (#773)
Co-authored-by: Kim-Adeline Miguel <51720070+kimadeline@users.noreply.github.com>
Co-authored-by: Mathias Gesbert <mathias.gesbert@mistral.ai>
Co-authored-by: Maxime Dolores <maxime.dolores@ext.mistral.ai>
Co-authored-by: Nelson PROIA <144663685+Nelson-PROIA@users.noreply.github.com>
Co-authored-by: Paul VEZIA <166131032+le-codeur-rapide@users.noreply.github.com>
Co-authored-by: Pierre Rossinès <pierre.rossines@mistral.ai>
Co-authored-by: Quentin <quentin.torroba@mistral.ai>
Co-authored-by: Val <102326092+vdeva@users.noreply.github.com>
Co-authored-by: Vincent G <10739306+VinceOPS@users.noreply.github.com>
Co-authored-by: Mistral Vibe <vibe@mistral.ai>
2026-06-12 13:16:04 +02:00

18 lines
467 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
binary_dir="${1:-dist/vibe-dir}"
if [ -n "${PYTHON_BIN:-}" ]; then
read -r -a python_cmd <<< "${PYTHON_BIN}"
elif command -v uv >/dev/null 2>&1; then
python_cmd=(uv run python)
elif [ -x ".venv/bin/python" ]; then
python_cmd=(.venv/bin/python)
elif [ -x ".venv/Scripts/python.exe" ]; then
python_cmd=(.venv/Scripts/python.exe)
else
python_cmd=(python)
fi
"${python_cmd[@]}" tests/cli/smoke_binary.py "${binary_dir}"