Files
effect/scripts/worktree-setup.sh
T
2026-01-30 15:40:50 +13:00

30 lines
657 B
Bash
Executable File

#!/bin/bash
# reset to latest main
git fetch origin
git checkout origin/main
# install dependencies
direnv allow
corepack install
pnpm install
# setup repositories
git clone --depth 1 https://github.com/effect-ts/effect.git .repos/effect-old
git clone --depth 1 https://github.com/tim-smart/effect-atom.git .repos/effect-atom-old
cat << EOF >> AGENTS.md
## References
If you need to learn more about the old version of effect (version 3.x), you can
access the archived repository here:
\`.repos/effect-old\`
If you need to learn more about the old version of effect atom, you can
access the archived repository here:
\`.repos/effect-atom-old\`
EOF