aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-01 22:41:16 -0400
committerXe Iaso <me@xeiaso.net>2025-04-01 22:41:16 -0400
commit555aed5fb42ac8f404571f1202f2294ab3a4b6e8 (patch)
treeb4b667ef434753ab04abab8c4de40f38dcc9df8c
parent39016cf7e12fe565070ad4344ce89dfd5f570d0b (diff)
downloadanubis-555aed5fb42ac8f404571f1202f2294ab3a4b6e8.tar.xz
anubis-555aed5fb42ac8f404571f1202f2294ab3a4b6e8.zip
docs/developer: add local dev docs for yeet
Signed-off-by: Xe Iaso <me@xeiaso.net>
-rw-r--r--docs/docs/developer/local-dev.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/docs/developer/local-dev.md b/docs/docs/developer/local-dev.md
index 68634a4..e417a70 100644
--- a/docs/docs/developer/local-dev.md
+++ b/docs/docs/developer/local-dev.md
@@ -55,3 +55,32 @@ This builds a prod-ready container image with [ko](https://ko.build). If you wan
```text
DOCKER_REPO=registry.host/org/repo DOCKER_METADATA_OUTPUT_TAGS=registry.host/org/repo:latest npm run container
```
+
+## Building packages
+
+For more information, see [Building native packages is complicated](https://xeiaso.net/blog/2025/anubis-packaging/) and [#156: Debian, RPM, and binary tarball packages](https://github.com/TecharoHQ/anubis/issues/156).
+
+Install `yeet`:
+
+:::note
+
+`yeet` will soon be moved to a dedicated TecharoHQ repository. This is currently done in a hacky way in order to get this ready for user feedback.
+
+:::
+
+```text
+go install within.website/x/cmd/yeet@v1.13.0
+```
+
+Install the dependencies for Anubis:
+
+```text
+npm ci
+go mod download
+```
+
+Build the packages into `./var`:
+
+```text
+yeet
+```