aboutsummaryrefslogtreecommitdiff
path: root/yeetfile.js
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-03-29 18:46:40 -0400
committerXe Iaso <me@xeiaso.net>2025-03-29 18:46:40 -0400
commit2bfd9bb711ac8cbdd70885b009150d4e5c761b4c (patch)
tree04ab98a94a5d307d4bed2d0eb2de1ad677a85ccf /yeetfile.js
parent6b2ae30baef6cdc1796a5ec5495c11686aaca50e (diff)
downloadanubis-Xe/package-adulting.tar.xz
anubis-Xe/package-adulting.zip
docs/developer: add build directions for manually building AnubisXe/package-adulting
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");