mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
mdproof runs with cwd=/workspace which has .skillshare/config.yaml, triggering project mode auto-detection. step_setup ensures every step runs from the isolated HOME instead.
9 lines
646 B
JSON
9 lines
646 B
JSON
{
|
|
"build": "cd /workspace && make build && /workspace/.devcontainer/ensure-skillshare-linux-binary.sh && /workspace/.devcontainer/ensure-mdproof.sh",
|
|
"isolation": "per-runbook",
|
|
"step_setup": "cd $HOME",
|
|
"setup": "rm -rf /tmp/test-project /tmp/test-proj /tmp/extras-proj /tmp/copy-target /tmp/sym-target /tmp/test /tmp/bad-config.yaml /tmp/config-before.yaml 2>/dev/null; mkdir -p ~/.config ~/.local/share ~/.local/state ~/.cache ~/.claude ~/.codex; /workspace/bin/skillshare init -g --force --all-targets --no-git --no-skill",
|
|
"teardown": "/workspace/bin/skillshare uninstall --all -g --force 2>/dev/null || true",
|
|
"timeout": "5m"
|
|
}
|