Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
35 lines
872 B
Bash
Executable file
35 lines
872 B
Bash
Executable file
#!/bin/sh
|
|
# Shallow-clone official Zapier repos used to build connectors / applications.
|
|
# Default dest: $ROOT/repos (ROOT defaults to this project).
|
|
set -eu
|
|
ROOT="${ROOT:-$(CDPATH= cd -- "$(dirname "$0")/.." && pwd)}"
|
|
DEST="${1:-$ROOT/repos}"
|
|
mkdir -p "$DEST"
|
|
REPOS="
|
|
zapier-platform
|
|
sdk
|
|
zapier-mcp
|
|
connectors
|
|
install-zapier
|
|
agent-skills
|
|
marketplace
|
|
visual-builder
|
|
resthooks
|
|
zapier-platform-cli
|
|
zapier-platform-core
|
|
zapier-platform-schema
|
|
zapier-platform-example-app-github
|
|
zapier-platform-example-app-oauth2
|
|
zapier-platform-example-app-minimal
|
|
gtm-cheat-codes
|
|
"
|
|
for r in $REPOS; do
|
|
if [ -d "$DEST/$r/.git" ]; then
|
|
echo "UPDATE $r"
|
|
git -C "$DEST/$r" fetch --depth=1 origin && git -C "$DEST/$r" reset --hard FETCH_HEAD
|
|
else
|
|
echo "CLONE $r"
|
|
git clone --depth 1 "https://github.com/zapier/$r.git" "$DEST/$r" || echo "FAIL $r"
|
|
fi
|
|
done
|
|
echo "DONE $DEST"
|