aboutsummaryrefslogtreecommitdiff
path: root/yeetfile.js
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-03-29 20:12:35 -0400
committerGitHub <noreply@github.com>2025-03-29 20:12:35 -0400
commit168329fff02bd86af1ef7eb2728b772fb9535478 (patch)
tree30364ba7b730c253e208c0a5af650fa8bd73907c /yeetfile.js
parent52ca5390c2b54374e62cbcd2efaf78edaa4e7249 (diff)
downloadanubis-168329fff02bd86af1ef7eb2728b772fb9535478.tar.xz
anubis-168329fff02bd86af1ef7eb2728b772fb9535478.zip
docs/developer: add build directions for manually building Anubis (#154)
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'yeetfile.js')
-rw-r--r--yeetfile.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/yeetfile.js b/yeetfile.js
index 829754c..0dc9503 100644
--- a/yeetfile.js
+++ b/yeetfile.js
@@ -1,6 +1,4 @@
-go.install();
-
-["amd64", "arm64"].forEach(goarch => {
+["amd64", "arm64", "riscv64"].forEach(goarch => {
[deb, rpm].forEach(method => method.build({
name: "anubis",
description: "Anubis weighs the souls of incoming HTTP requests and uses a sha256 proof-of-work challenge in order to protect upstream resources from scraper bots.",
@@ -8,6 +6,12 @@ go.install();
license: "MIT",
goarch,
+ documentation: {
+ "./README.md": "README.md",
+ "./LICENSE": "LICENSE",
+ "./docs/docs/CHANGELOG.md": "CHANGELOG.md",
+ },
+
build: (out) => {
// install Anubis binary
go.build("-o", `${out}/usr/bin/anubis`, "./cmd/anubis");