Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,25 @@ This produces either `./exports/activity.json` or, when splitting is needed, fil

## Development setup

This repository uses `mise` to install toolchain dependencies.
This repository uses `mise` for contributor setup and toolchain management.

Install the pinned tools:
Recommended first command for contributors:

```bash
mise install
mise run setup
```

Install git hooks:
`mise run setup` keeps local setup to one command by:

- installing the pinned tools with `mise install`
- running `go mod tidy` to sync Go module dependencies
- installing the local git hooks with `lefthook install`

If you need to run the steps manually:

```bash
mise install
go mod tidy
lefthook install
```

Expand Down
8 changes: 8 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ pnpm = "10.28.1"
python = "3"
rust = "latest"
uv = "latest"

[tasks.setup]
description = "Install tools, tidy Go modules, and install git hooks"
run = """
mise install
go mod tidy
lefthook install
"""
Loading