anubis: update to 1.20.0.

This commit is contained in:
Luca Matei Pintilie 2025-07-12 11:56:39 +02:00 committed by Duncan Overbruck
parent fb14ffaaa5
commit 8547ee5965
2 changed files with 18 additions and 7 deletions

View file

@ -1,13 +1,20 @@
diff --git a/package.json b/package.json
index 4041096..c672d64 100644
index db542f6..1a75070 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
"scripts": {
"test": "npm run assets && go test ./...",
@@ -8,7 +8,7 @@
"test:integration": "npm run assets && go test -v ./internal/test",
"test:integration:podman": "npm run assets && go test -v ./internal/test --playwright-runner=podman",
"test:integration:docker": "npm run assets && go test -v ./internal/test --playwright-runner=docker",
- "assets": "go generate ./... && ./web/build.sh && ./xess/build.sh",
+ "assets": "./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",
"dev": "npm run assets && go run ./cmd/anubis --use-remote-address --target http://localhost:3000",
"container": "npm run assets && go run ./cmd/containerbuild",
@@ -27,4 +27,4 @@
"postcss-import-url": "^7.2.0",
"postcss-url": "^10.1.3"
}
-}
\ No newline at end of file
+}

View file

@ -1,6 +1,6 @@
# Template file for 'anubis'
pkgname=anubis
version=1.18.0
version=1.20.0
revision=1
build_style=go
go_import_path="github.com/TecharoHQ/anubis"
@ -14,7 +14,7 @@ license="MIT"
homepage="https://anubis.techaro.lol/"
changelog="https://github.com/TecharoHQ/anubis/releases"
distfiles="https://github.com/TecharoHQ/anubis/archive/refs/tags/v${version}.tar.gz"
checksum=b543f3c4af32a71994f4290b901b5670ce3cc7756b9db2c86d2569286d6dd6ef
checksum=1c3dc09c88712519e1c59e40f1d38b121ff3afcbcc0b6c4983b4a4940c91ad8e
system_accounts="_anubis"
@ -23,6 +23,10 @@ pre_build() {
npm run assets
}
do_check() {
go test -p "$XBPS_MAKEJOBS" ${make_check_args} ./...
}
post_install() {
vsv anubis
vlicense LICENSE