docs/developer: add build directions for manually building Anubis (#154)
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
52ca5390c2
commit
168329fff0
2 changed files with 48 additions and 3 deletions
10
yeetfile.js
10
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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue