diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-28 11:18:21 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-28 11:18:21 +0300 |
| commit | 101500cc9a9b4e636451aba67ae5f8e924432afa (patch) | |
| tree | 4de216b50c4b75598ff87b14f1c1bc197edcc803 /README.md | |
| parent | faf87a23a782bc7d717e363a3a399a64d6a34146 (diff) | |
build: replace Taskfile with Magefile; add Mage targets and README build notes
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -18,3 +18,15 @@ AI coded it under human supervision, and a human developer reviewed the code. * [Configuration guide](docs/configuration.md) * [Usage examples](docs/usage-examples.md) + +## Build and tasks + +Hexai uses Mage for developer tasks. Install Mage, then run targets like build, dev, test, and install. + +- Install Mage: `go install github.com/magefile/mage@latest` +- Build binaries: `mage build` (produces `hexai` and `hexai-lsp`) +- Dev build (+ tests, vet, lint): `mage dev` +- Run tests: `mage test` +- Install binaries to `GOPATH/bin`: `mage install` + +Note: `mage lint` uses `golangci-lint`. Install via `mage devinstall` if needed. |
