Add support for building snaps (#387)

This commit is contained in:
igorljubuncic 2019-12-08 01:37:27 +00:00 committed by Bo-Yi Wu
parent 682ca7fbad
commit 726184a55d
1 changed files with 24 additions and 0 deletions

24
snapcraft.yaml Normal file
View File

@ -0,0 +1,24 @@
name: gorush
version: '1.0'
summary: A push notification server written in Go
description: |
A push notification server written in Go.
grade: stable
confinement: strict
base: core18
parts:
gorush:
plugin: go
source: https://github.com/appleboy/gorush.git
go-importpath: github.com/appleboy/gorush
build-packages:
- build-essential
apps:
gorush:
command: bin/gorush
daemon: simple
restart-condition: on-abnormal
plugs:
- home
- network
- network-bind