diff --git a/Makefile b/Makefile index 8e04472..5f503b7 100644 --- a/Makefile +++ b/Makefile @@ -25,9 +25,8 @@ onboard: link ## Onboard an existing project (run from the project directory) seo-connect: ## Connect a Google account for /seo FULL (creates venv, OAuth consent) @python3 -m venv "$$HOME/.claude/.venv-seo-data" @"$$HOME/.claude/.venv-seo-data/bin/pip" install -q -r lib/seo-data/requirements.txt - @bash -c 'set -a; [ -f "$$HOME/.claude/.env" ] && . "$$HOME/.claude/.env"; set +a; \ - read -r -p "Label for this account (e.g. client-a): " label; \ - "$$HOME/.claude/.venv-seo-data/bin/python3" lib/seo-data/connect.py --label "$$label"' + @bash -c 'read -r -p "Label for this account (e.g. client-a): " label; \ + bash lib/seo-data/connect.sh --label "$$label"' test: ## Run deterministic tests (lib/tests/*.test.sh + lib/gitflow-test.sh + lib/tests/run-*.sh) @fail=0; for t in lib/tests/*.test.sh lib/seo-data/*.test.sh lib/gitflow-test.sh lib/tests/run-*.sh; do \ diff --git a/lib/seo-data/README.md b/lib/seo-data/README.md index 560fbb4..b730beb 100644 --- a/lib/seo-data/README.md +++ b/lib/seo-data/README.md @@ -18,14 +18,19 @@ is written to disk during an audit, only at `make seo-connect`. One-time per Google account: ```bash -make seo-connect +make seo-connect # from the claude-config repo +bash ~/.claude/lib/seo-data/connect.sh --label