- setup: copia .env, .env.* e CLAUDE.md da raiz (sem sobrescrever) e baixa as dependências com cargo fetch --locked. Pode rodar de novo. - run: guara ui --no-open. A porta padrão é 0, então cada workspace recebe uma porta livre do sistema e a URL com o token sai no terminal. - teardown: encerra o guara ui que ainda esteja vivo neste workspace. - .gitignore passa a ignorar .env e .env.*. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RRZm8uTVN3WLTwcbrDQAUM
10 lines
382 B
Bash
Executable File
10 lines
382 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Runs when a Superset workspace is deleted.
|
|
# Setup starts no background service. The only long-running process is the Run command
|
|
# (`guara ui`), which this workspace builds into its own target/ directory, so stop any
|
|
# copy that is still alive before the worktree is removed.
|
|
set -uo pipefail
|
|
|
|
pkill -f -- "$PWD/target/.*/guara ui" 2>/dev/null || true
|
|
exit 0
|