feat: Intial snapcraft configuration

This commit is contained in:
Maciej Krüger 2018-11-10 16:50:08 +01:00
parent 75f538fa16
commit 0237555928
3 changed files with 37 additions and 0 deletions

8
.gitignore vendored
View File

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

0
bin/telebit.js Normal file → Executable file
View File

29
snap/snapcraft.yaml Normal file
View File

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