feat: Initial snapcraft configuration

This commit is contained in:
Maciej Krüger 2018-11-10 17:02:37 +01:00
부모 50c0449206
커밋 eb36af8269
2개의 변경된 파일33개의 추가작업 그리고 0개의 파일을 삭제

9
.gitignore vendored
파일 보기

@ -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
파일 보기

@ -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