From eb36af8269b083051c504904574cb98d77310eec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sat, 10 Nov 2018 17:02:37 +0100 Subject: [PATCH] feat: Initial snapcraft configuration --- .gitignore | 9 +++++++++ snap/snapcraft.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index 271d15d..53edc89 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,12 @@ jspm_packages # Optional REPL history .node_repl_history + +# Snapcraft +/parts/ +/prime/ +/stage/ +.snapcraft +*.snap +*.tar.bz2 + diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..f637d0d --- /dev/null +++ b/snap/snapcraft.yaml @@ -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 -- 2.38.5