0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-11-02 17:44:07 +01:00

add pnpm to Snapcraft

This commit is contained in:
techknowlogick 2025-10-29 19:33:06 +01:00 committed by GitHub
parent 8aa1179ce4
commit a070cd4761
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,6 +68,7 @@ parts:
override-build: |
set -x
sed -i 's/os.Getuid()/1/g' modules/setting/setting.go
npm install -g pnpm
TAGS="bindata sqlite sqlite_unlock_notify pam cert" make build
install -D gitea "${SNAPCRAFT_PART_INSTALL}/gitea"
cp -r options "${SNAPCRAFT_PART_INSTALL}/"