16 lines
376 B
Bash
16 lines
376 B
Bash
#!/usr/bin/env bash
|
|||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
echo "[test-env-virtual] Installing pkgmgr (distro package)..."
|
||
|
|
make install
|
||
|
|
|
||
|
|
echo "[test-env-virtual] Setting up Python venv..."
|
||
|
|
make setup-venv
|
||
|
|
|
||
|
|
echo "[test-env-virtual] Activating venv..."
|
||
|
|
# shellcheck source=/dev/null
|
||
|
|
. "$HOME/.venvs/pkgmgr/bin/activate"
|
||
|
|
|
||
|
|
echo "[test-env-virtual] Using pkgmgr from:"
|
||
|
|
command -v pkgmgr
|
||
|
|
pkgmgr --help
|