Browse Source

add pnpm to Snapcraft (#35778)

pull/35793/head
techknowlogick 2 months ago committed by GitHub
parent
commit
98ff7d0773
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      snap/snapcraft.yaml

1
snap/snapcraft.yaml

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

Loading…
Cancel
Save