Skip to content
Source
Sign inSign up

worktree-setup.sh

28 lines602 Bytes

1#!/bin/bash
2​
3# install dependencies
4direnv allow
5corepack install
6pnpm install
7​
8# setup repositories
9git clone --depth 1 https://github.com/tstyche/tstyche.org.git .repos/tstyche.org
10​
11cp .agents/AGENTS.md AGENTS.md.tmp
12​
13cat << EOF >> AGENTS.md.tmp
14​
15## Learning about "effect" v3
16​
17If you need to learn more about the old version of effect (version 3.x), you can
18access the "v3" branch.
19​
20## Learning about the "tstyche" testing framework
21​
22If you need to learn more about the "tstyche" testing framework, you can access
23the website repository here:
24​
25\`.repos/tstyche.org\`
26EOF
27​
28mv AGENTS.md.tmp AGENTS.md