From 579b3595039e144f22597b2c5961b7edb3f655b9 Mon Sep 17 00:00:00 2001 From: Alan Pope Date: Thu, 25 Jan 2018 13:31:06 +0000 Subject: [PATCH] Add snapcraft support --- snap/snapcraft.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..d691d0a --- /dev/null +++ b/snap/snapcraft.yaml @@ -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