Merge branch 'feat/snapcraft' of mkg20001/telebit-relay.js into master

This commit is contained in:
AJ ONeal 2018-11-23 19:39:55 +00:00 revīziju iesūtīja Gitea
revīzija 5a395a299a
2 mainīti faili ar 33 papildinājumiem un 0 dzēšanām

9
.gitignore ārējs
Parādīt failu

@ -43,3 +43,12 @@ jspm_packages
# Optional REPL history
.node_repl_history
# Snapcraft
/parts/
/prime/
/stage/
.snapcraft
*.snap
*.tar.bz2

24
snap/snapcraft.yaml Normal file
Parādīt failu

@ -0,0 +1,24 @@
name: telebit-relay
version: '0.20.0'
summary: Because friends don't let friends localhost
description: |
A server that works in combination with Telebit Remote
to allow you to serve http and https from any computer,
anywhere through a secure tunnel.
grade: stable
confinement: strict
apps:
telebit-relay:
command: telebit-relay --config $SNAP_COMMON/config.yml
plugs: [network, network-bind]
daemon: simple
parts:
telebit-relay:
plugin: nodejs
node-engine: 10.13.0
source: .
override-build: |
snapcraftctl build