cloudreve: exclude tests pkg
authorTianling Shen <redacted>
Mon, 15 Jun 2026 02:43:04 +0000 (10:43 +0800)
committerTianling Shen <redacted>
Mon, 15 Jun 2026 02:44:19 +0000 (10:44 +0800)
`pkg/request/ssrftest` is used for tests only and does not contain
real package, exclude it from build list.

Fixes: 7f5a269cf3a4 ("cloudreve: Update to 4.16.1")
Signed-off-by: Tianling Shen <redacted>
net/cloudreve/Makefile

index dd084e82f6c51dc1ac46a2402face7a40830dd4b..16d6d87266ec7afc631bf3c634f02ce105e3ab26 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cloudreve
 PKG_VERSION:=4.16.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/cloudreve/Cloudreve.git
@@ -23,6 +23,7 @@ PKG_BUILD_PARALLEL:=1
 PKG_BUILD_FLAGS:=no-mips16
 
 GO_PKG:=github.com/cloudreve/Cloudreve/v4
+GO_PKG_EXCLUDES:=pkg/request/ssrftest
 GO_PKG_LDFLAGS_X:= \
        $(GO_PKG)/application/constants.BackendVersion=$(PKG_VERSION) \
        $(GO_PKG)/application/constants.LastCommit=$(PKG_VERSION)
git clone https://git.99rst.org/PROJECT