aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2025-04-02 19:57:28 -0400
committerGitHub <noreply@github.com>2025-04-02 23:57:28 +0000
commit266d8c0cc25f9d93ea7da87eb199bc87e41c653e (patch)
tree0b21b2b7637c6847f396b6e9efe50fe39fc60181 /package.json
parent573dfd099fa53c0cdbc3256cf15ea36af5bb9cb0 (diff)
downloadanubis-266d8c0cc25f9d93ea7da87eb199bc87e41c653e.tar.xz
anubis-266d8c0cc25f9d93ea7da87eb199bc87e41c653e.zip
add a Makefile (#191)
* add a Makefile Based on advice from IRC, a makefile helps downstream packagers understand how to build the software. Signed-off-by: Xe Iaso <me@xeiaso.net> * Apply review suggestions Signed-off-by: Xe Iaso <me@xeiaso.net> --------- Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index bf1fd6e..844c92d 100644
--- a/package.json
+++ b/package.json
@@ -7,6 +7,7 @@
"test": "npm run assets && go test ./...",
"test:integration": "npm run assets && go test -v ./internal/test",
"assets": "go generate ./... && ./web/build.sh && ./xess/build.sh",
+ "build": "npm run assets && go build -o ./var/anubis ../cmd/anubis",
"dev": "npm run assets && go run ./cmd/anubis --use-remote-address",
"container": "npm run assets && go run ./cmd/containerbuild"
},