Files
awesome-copilot/skills/eval-driven-dev/resources/setup.sh
Yiou Li 5f59ddb9cf update eval-driven-dev skill (#1352)
* update eval-driven-dev skill

* small refinement of skill description

* address review, rerun npm start.
2026-04-10 11:19:28 +10:00

44 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
# Setup script for eval-driven-dev skill.
# Updates the skill, installs/upgrades pixie-qa[all], initializes the
# pixie working directory, and starts the web UI server in the background.
# Failures are non-fatal — the workflow continues even if a step here is
# blocked by the environment.
set -u
echo "=== Updating skill ==="
npx skills update || echo "(skill update skipped)"
echo ""
echo "=== Installing / upgrading pixie-qa[all] ==="
if [ -f uv.lock ]; then
uv add "pixie-qa[all]>=0.6.1,<0.7.0" --upgrade
elif [ -f poetry.lock ]; then
poetry add "pixie-qa[all]>=0.6.1,<0.7.0"
else
pip install --upgrade "pixie-qa[all]>=0.6.1,<0.7.0"
fi
echo ""
echo "=== Initializing pixie working directory ==="
if [ -f uv.lock ]; then
uv run pixie init
elif [ -f poetry.lock ]; then
poetry run pixie init
else
pixie init
fi
echo ""
echo "=== Starting web UI server (background) ==="
if [ -f uv.lock ]; then
uv run pixie start
elif [ -f poetry.lock ]; then
poetry run pixie start
else
pixie start
fi
echo ""
echo "=== Setup complete ==="