From 0237555928bcf3a9915fc257b71bf92e2b879ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Sat, 10 Nov 2018 16:50:08 +0100 Subject: [PATCH] feat: Intial snapcraft configuration --- .gitignore | 8 ++++++++ bin/telebit.js | 0 snap/snapcraft.yaml | 29 +++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) mode change 100644 => 100755 bin/telebit.js create mode 100644 snap/snapcraft.yaml diff --git a/.gitignore b/.gitignore index 319b82f..e379090 100644 --- a/.gitignore +++ b/.gitignore @@ -52,3 +52,11 @@ jspm_packages # Optional REPL history .node_repl_history + +# Snapcraft +/parts/ +/prime/ +/stage/ +.snapcraft +*.snap +*.tar.bz2 diff --git a/bin/telebit.js b/bin/telebit.js old mode 100644 new mode 100755 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..e13dde4 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,29 @@ +name: telebit +version: '0.21.0-wip.1' +summary: Because friends don't let friends localhost +description: | + Break out of localhost. + If you need to get bits from here to there, Telebit gets the job done. + Install Telebit Remote on any device - your laptop, raspberry pi, whatever - and now you can access that device from anywhere, even securely in a web browser. + How does it work? It’s a net server that uses a relay to allow multiplexed incoming connections on any external port. + Features + +grade: stable +confinement: strict + +apps: + telebit: + command: telebit + plugs: [network, network-bind] + telebitd: + command: telebitd + plugs: [network, network-bind] + daemon: simple + +parts: + telebit: + plugin: nodejs + node-engine: 10.13.0 + source: . + override-build: | + snapcraftctl build -- 2.38.5