1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

snap-packaging for gitea (#2568)

* Modify tbraeutigam/gogs-snap for gitea

* Fix building on 16.04 (manually build go-bindata).
-> add _source.tar.bz2 to .gitignore (used by snapcraft cleanbuild)

* Streamline Snap packaging:
 - Take advantage of install-hooks (snapd 2.27)
 - Use snapctl configuration storage for unchanging values

* Move to using Snap Hooks for configuration

* Missed re-adding daemon statement

* Fix two warnings from Codacy.
This commit is contained in:
Thorben
2018-05-09 16:52:51 +02:00
committed by Lunny Xiao
parent 02ecc03d6d
commit 14f16d6c2e
7 changed files with 394 additions and 0 deletions

3
snap/hooks/configure vendored Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
$SNAP/bin/gconfig configure