|
@@ -1,6 +1,4 @@
|
|
-go.install();
|
|
|
|
-
|
|
|
|
-["amd64", "arm64"].forEach(goarch => {
|
|
|
|
|
|
+["amd64", "arm64", "riscv64"].forEach(goarch => {
|
|
[deb, rpm].forEach(method => method.build({
|
|
[deb, rpm].forEach(method => method.build({
|
|
name: "anubis",
|
|
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.",
|
|
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",
|
|
license: "MIT",
|
|
goarch,
|
|
goarch,
|
|
|
|
|
|
|
|
+ documentation: {
|
|
|
|
+ "./README.md": "README.md",
|
|
|
|
+ "./LICENSE": "LICENSE",
|
|
|
|
+ "./docs/docs/CHANGELOG.md": "CHANGELOG.md",
|
|
|
|
+ },
|
|
|
|
+
|
|
build: (out) => {
|
|
build: (out) => {
|
|
// install Anubis binary
|
|
// install Anubis binary
|
|
go.build("-o", `${out}/usr/bin/anubis`, "./cmd/anubis");
|
|
go.build("-o", `${out}/usr/bin/anubis`, "./cmd/anubis");
|