From e6d3017210e44c15f4e3a3055bb8c0e4d5a2a027 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Tue, 13 Feb 2018 00:33:27 +0000 Subject: [PATCH 1/2] Add the packaging metadata to build the 2fa snap --- snap/snapcraft.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..2b26ce2 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,17 @@ +name: 2fa +version: git +summary: Two-factor authentication agent +description: | + 2fa is a tool which provides two-factor authentication on the command line. +grade: stable +confinement: strict + +apps: + 2fa: + command: 2fa + +parts: + 2fa: + source: . + plugin: go + go-importpath: github.com/rsc/2fa From 124db85b034e5e3d75f7378769d4623339f64c23 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Sun, 4 Mar 2018 17:13:03 +0000 Subject: [PATCH 2/2] update the go-importpath --- snap/snapcraft.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2b26ce2..bcc5896 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -14,4 +14,4 @@ parts: 2fa: source: . plugin: go - go-importpath: github.com/rsc/2fa + go-importpath: rsc.io/2fa