Add snapcraft support

This commit is contained in:
Alan Pope 2018-01-25 13:31:06 +00:00 committed by JP Bruins Slot
parent a2d12ee233
commit 579b359503

28
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,28 @@
name: slack-term
version: git
summary: Slack client for your terminal
description: |
A Slack client for your terminal.
* Get a slack token from https://api.slack.com/docs/oauth-test-tokens
* Create $HOME/snap/slack-term/current/slack-term.json
* Contents detailed at https://github.com/erroneousboat/slack-term
* slack-term --config $HOME/snap/slack-term/current/slack-term.json
grade: stable
confinement: strict
apps:
slack-term:
command: slack-term
plugs:
- network
- home
parts:
go:
source-tag: go1.7.5
slack-term:
after: [go]
source: https://github.com/erroneousboat/slack-term.git
plugin: go
go-importpath: github.com/erroneousboat/slack-term