summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-28 11:18:21 +0300
committerPaul Buetow <paul@buetow.org>2025-08-28 11:18:21 +0300
commit101500cc9a9b4e636451aba67ae5f8e924432afa (patch)
tree4de216b50c4b75598ff87b14f1c1bc197edcc803 /README.md
parentfaf87a23a782bc7d717e363a3a399a64d6a34146 (diff)
build: replace Taskfile with Magefile; add Mage targets and README build notes
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index 888a403..dd9baac 100644
--- a/README.md
+++ b/README.md
@@ -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.